PackageRelationship.RelationshipType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the qualified type name of the relationship.
public:
property System::String ^ RelationshipType { System::String ^ get(); };
public string RelationshipType { get; }
member this.RelationshipType : string
Public ReadOnly Property RelationshipType As String
Property Value
The qualified type name of the relationship.
Remarks
The RelationshipType is specified in the call to the Package.CreateRelationship or PackagePart.CreateRelationship method that created the relationship. After the relationship is created, the RelationshipType cannot be changed.
RelationshipType is defined in a URI-like syntax and identifies the role of the relationship. For example, "http://schemas.microsoft.com/xps/2005/06/required-resource"
identifies the relationship to a target part that is a "required-resource."
Package-Wide Relationship Types
Description | Relationship Type |
---|---|
Core Properties | http://schemas.microsoft.com/package/2006/relationships/metadata/core-properties |
Digital Signature | http://schemas.microsoft.com/package/2006/relationships/digital-signature/signature |
Digital Signature Certificate | http://schemas.microsoft.com/package/2006/relationships/digital-signature/certificate |
Digital Signature Origin | http://schemas.microsoft.com/package/2006/relationships/digital-signature/origin |
Thumbnail | http://schemas.microsoft.com/package/2006/relationships/metadata/thumbnail |
For more information about package relationship types see Chapter 3 and Appendix I of the Open Packaging Conventions specification available for download at https://www.ecma-international.org/publications-and-standards/standards/ecma-376/.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈