Version

GetRelationship Method (IPackagePart)

Returns the relationship that has a specified IPackageRelationship.Id.
Syntax
IPackageRelationship GetRelationship( 
   string id
)

Parameters

id
The IPackageRelationship.Id of the relationship to return.

Return Value

The relationship that matches the specified id.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also