Export (0) Print
Expand All

PackageRelationship.RelationshipType Property

Gets the qualified type name of the relationship.

Namespace:  System.IO.Packaging
Assembly:  WindowsBase (in WindowsBase.dll)

public string RelationshipType { get; }

Property Value

Type: System.String
The qualified type name of the relationship.

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 http://go.microsoft.com/fwlink/?LinkID=71255.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft