LinkTarget 类

定义

表示某页上的一个元素,可以从其他文档或同一文档中的其他位置链接到该元素。Represents an element on a page that can be linked to from other documents or other places in the same document.

public ref class LinkTarget sealed
public sealed class LinkTarget
type LinkTarget = class
Public NotInheritable Class LinkTarget
继承
LinkTarget

注解

FixedDocument 中所有页面的所有链接目标的名称将收集到 XML 纸张规范 (XPS)XML Paper Specification (XPS) 文档的页面内容部分。The names of all of the link targets for all of the pages in a FixedDocument are gathered into the Page Content part of an XML 纸张规范 (XPS)XML Paper Specification (XPS) document. 这样,便可以使用应用程序来确定特定的目标是否在特定的文档中,而无需加载整个文档。This enables consuming applications to determine if a particular target is in a particular document without having to load the entire document. 有关 <PageContent><LinkTarget> 元素的详细信息,请参阅可在XPS:规范和许可证下载中获取的 XPSXPS 规范的第3章。For more information about the <PageContent> and <LinkTarget> elements, see chapter 3 of the XPSXPS specification which you can obtain at XPS: Specification and License Downloads.

构造函数

LinkTarget()

初始化 LinkTarget 类的新实例。Initializes a new instance of the LinkTarget class.

属性

Name

获取或设置此 LinkTarget 标识为可链接元素的元素名称。Gets or sets the name of the element that this LinkTarget identifies as a linkable element.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于