PackageRelationship.SourceUri Property


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

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

public Uri SourceUri { get; }

Property Value

Type: System.Uri

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.

.NET Framework
Available since 3.0
Return to top