TargetMode TargetMode TargetMode TargetMode Enum

定义

指定 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
继承

字段

External External External External 1

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

Internal Internal Internal Internal 0

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

注解

如果目标位于Package(内部) 关系TargetUri始终是相对URIURIIf the target is inside the Package (Internal), the relationship TargetUri is always a relative URIURI.

如果目标为外部TargetUri(外部),此关系TargetUri可以是相对于当前包的位置,也是绝对URIURIIf the target is outside the TargetUri (External), the relationship TargetUri can be either relative to the current location of the package or an absolute URIURI.

适用于

另请参阅