PackageRelationship.SourceUri PackageRelationship.SourceUri PackageRelationship.SourceUri PackageRelationship.SourceUri Property


Gets the URI of the package or part that owns the relationship.

 property Uri ^ SourceUri { Uri ^ get(); };
public Uri SourceUri { get; }
member this.SourceUri : Uri
Public ReadOnly Property SourceUri As Uri

Property Value

The URI of the Package or PackagePart that owns the relationship.


If the relationship is owned by a Package, SourceUri returns a URI of "/".

If the relationship is owned by a PackagePart, SourceUri returns the URI of the part.

Applies to

See also