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 */
public String get_RelationshipType ()

public function get RelationshipType () : String

You cannot use this property in XAML.

Property Value

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, "" identifies the relationship to a target part that is a "required-resource."

Package-Wide Relationship Types


Relationship Type

Core Properties

Digital Signature

Digital Signature Certificate

Digital Signature Origin


For more information about package relationship types see Chapter 3 and Appendix I of the Open Packaging Conventions specification available for download at

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions