PackageRelationship.RelationshipType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得關聯性的限定型別名稱。
public:
property System::String ^ RelationshipType { System::String ^ get(); };
public string RelationshipType { get; }
member this.RelationshipType : string
Public ReadOnly Property RelationshipType As String
屬性值
關係的合格類型名稱。
備註
RelationshipType在呼叫建立關聯的 Package.CreateRelationship 或 PackagePart.CreateRelationship 方法時指定了 。 關係建立後,無法 RelationshipType 更改。
RelationshipType 以類似 URI 的語法定義,並識別該關係的角色。 例如, "http://schemas.microsoft.com/xps/2005/06/required-resource" 識別與目標部分的關係,該部分為「必要資源」。
Package-Wide 關係類型
| Description | 關聯類型 |
|---|---|
| 核心特性 | 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/