ContentLocator 類別

定義

表示 ContentLocatorPart 項目的已排序集合,可用來識別內容項目。Represents an ordered set of ContentLocatorPart elements that identify an item of content.

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 elements defined in a ContentLocator provides a structured means to reference an external data item.

依序解決每個ContentLocatorPart的程式會提供內容來解析下一個ContentLocatorPartThe process of resolving each ContentLocatorPart in sequence provides the context to resolve the next ContentLocatorPart.

建構函式

ContentLocator()

初始化 ContentLocator 類別的新執行個體。Initializes a new instance of the ContentLocator class.

屬性

Parts

取得 ContentLocatorPart 項目的集合,該集合組成這個 ContentLocatorGets the collection of ContentLocatorPart elements that make up this ContentLocator.

方法

Clone()

建立這個 ContentLocator 的可修改深層複本。Creates a modifiable deep copy clone of this ContentLocator.

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetSchema()

一律傳回 nullAlways returns null. 如需結構描述詳細資料,請參閱註釋結構描述See Annotations Schema for schema details.

GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ReadXml(XmlReader)

從指定的 XmlReader 還原序列化 ContentLocatorDeserializes the ContentLocator from a specified XmlReader.

StartsWith(ContentLocator)

傳回值,這個值表示 ContentLocatorPart 項目在指定之 ContentLocator 中的起始順序是否與在這個 ContentLocator 中的一樣。Returns a value that indicates whether the starting sequence of ContentLocatorPart elements in a specified ContentLocator are identical to those in this ContentLocator.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)
WriteXml(XmlWriter)

ContentLocator 序列化為指定的 XmlWriterSerializes the ContentLocator to a specified XmlWriter.

明確介面實作

INotifyPropertyChanged.PropertyChanged

如需這個成員的說明,請參閱 PropertyChangedFor a description of this member, see PropertyChanged.

(繼承來源 ContentLocatorBase)

適用於