TargetMode Enumeration

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
public enum class TargetMode
type TargetMode
Public Enumeration 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 is always a relative URI.

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

Version Information
.NET Framework
Available since 3.0
Return to top