ContentLocator 类

定义

表示一组有序的 ContentLocatorPart 元素,这些元素用于标识内容的项。

public ref class ContentLocator sealed : System::Windows::Annotations::ContentLocatorBase, System::Xml::Serialization::IXmlSerializable
public sealed class ContentLocator : System.Windows.Annotations.ContentLocatorBase, System.Xml.Serialization.IXmlSerializable
type ContentLocator = class
    inherit ContentLocatorBase
    interface IXmlSerializable
Public NotInheritable Class ContentLocator
Inherits ContentLocatorBase
Implements IXmlSerializable
继承
ContentLocator
实现

注解

ContentLocatorPart 在 中 ContentLocator 定义的元素提供了一种结构化方法来引用外部数据项。

按顺序解析每个 ContentLocatorPart 的过程提供了解析下一个 ContentLocatorPart的上下文。

构造函数

ContentLocator()

初始化 ContentLocator 类的新实例。

属性

Parts

获取组成此 ContentLocatorPartContentLocator 元素的集合。

方法

Clone()

创建此 ContentLocator 的可修改深层复制克隆。

Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetSchema()

始终返回 null。 有关架构详细信息,请参阅 批注架构

GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ReadXml(XmlReader)

从指定的 XmlReader 反序列化 ContentLocator

StartsWith(ContentLocator)

返回一个值,该值指示指定 ContentLocatorPart 中的 ContentLocator 元素起始序列是否与此 ContentLocator 中的那些元素起始序列相同。

ToString()

返回表示当前对象的字符串。

(继承自 Object)
WriteXml(XmlWriter)

ContentLocator 序列化为指定的 XmlWriter

显式接口实现

INotifyPropertyChanged.PropertyChanged

此 API 支持产品基础结构,不能在代码中直接使用。

有关此成员的说明,请参见 PropertyChanged

(继承自 ContentLocatorBase)

适用于