TargetMode Enumeration


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

Specifies whether the target of a PackageRelationship is inside or outside the Package.

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

public enum TargetMode

Member nameDescription

The relationship references a resource that is external to the package.


The relationship references a part that is inside the package.

If the target is inside the Package (Internal), the relationship TargetUri is always a relative URI.

If the target is outside the Package (External), the relationship TargetUri can be either relative to the current location of the package or an absolute URI.

.NET Framework
Available since 3.0
Return to top