PackageRelationship.RelationshipType 屬性

定義

取得關聯性的限定型別名稱。

public:
 property System::String ^ RelationshipType { System::String ^ get(); };
public string RelationshipType { get; }
member this.RelationshipType : string
Public ReadOnly Property RelationshipType As String

屬性值

關聯性的限定型別名稱。

備註

是在RelationshipType呼叫 PackageCreateRelationshipPackagePartCreateRelationship 方法中指定,以建立關聯性。 建立關聯性之後, RelationshipType 就無法變更 。

RelationshipType 定義在類似 URI 的語法中,並識別關聯性的角色。 例如, "http://schemas.microsoft.com/xps/2005/06/required-resource" 識別與「必要資源」之目標元件的關聯性。

全封裝關聯性類型

描述 關聯性類型
核心屬性 http://schemas.microsoft.com/package/2006/relationships/metadata/core-properties
數位簽章 http://schemas.microsoft.com/package/2006/relationships/digital-signature/signature
數字簽名憑證 http://schemas.microsoft.com/package/2006/relationships/digital-signature/certificate
數位簽名來源 http://schemas.microsoft.com/package/2006/relationships/digital-signature/origin
縮圖 http://schemas.microsoft.com/package/2006/relationships/metadata/thumbnail

如需套件關聯性類型的詳細資訊,請參閱 可供下載https://www.ecma-international.org/publications-and-standards/standards/ecma-376/開放式封裝慣例規格的第 3 章和附錄 I。

適用於

另請參閱