TargetMode 枚举

定义

指定 PackageRelationship 的目标是在 Package 的内部还是外部。Specifies whether the target of a PackageRelationship is inside or outside the Package.

public enum class TargetMode
public enum TargetMode
type TargetMode = 
Public Enum TargetMode
继承
TargetMode

字段

External 1

关系引用包外部的资源。The relationship references a resource that is external to the package.

Internal 0

关系引用包内部的部分。The relationship references a part that is inside the package.

注解

如果目标位于 PackageInternal)内,则关系 TargetUri 始终是相对 URI。If the target is inside the Package (Internal), the relationship TargetUri is always a relative URI.

如果目标位于 PackageExternal)之外,则关系 TargetUri 可以是相对于包的当前位置,也可以是绝对 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.

适用于

另请参阅