PackageRelationship.RelationshipType Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the qualified type name of the relationship.

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

Public ReadOnly Property RelationshipType As String

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, "" 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

.NET Framework
Available since 3.0
Return to top