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
實作

備註

ContentLocatorPartContentLocator 定義的元素提供參考外部資料項的結構化方法。

依序解析每個 ContentLocatorPart 的程式會提供內容來解析下一個 ContentLocatorPart

建構函式

ContentLocator()

初始化 ContentLocator 類別的新執行個體。

屬性

Parts

取得 ContentLocatorPart 項目的集合,該集合組成這個 ContentLocator

方法

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)

適用於