ContentLocator ContentLocator ContentLocator ContentLocator Class


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


ContentLocatorPart elements defined in a ContentLocator provides a structured means to reference an external data item.

The process of resolving each ContentLocatorPart in sequence provides the context to resolve the next ContentLocatorPart.


ContentLocator() ContentLocator() ContentLocator() ContentLocator()

Initializes a new instance of the ContentLocator class.


Parts Parts Parts Parts

Gets the collection of ContentLocatorPart elements that make up this ContentLocator.


Clone() Clone() Clone() Clone()

Creates a modifiable deep copy clone of this ContentLocator.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetSchema() GetSchema() GetSchema() GetSchema()

Always returns null. See Annotations Schema for schema details.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ReadXml(XmlReader) ReadXml(XmlReader) ReadXml(XmlReader) ReadXml(XmlReader)

Deserializes the ContentLocator from a specified XmlReader.

StartsWith(ContentLocator) StartsWith(ContentLocator) StartsWith(ContentLocator) StartsWith(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() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
WriteXml(XmlWriter) WriteXml(XmlWriter) WriteXml(XmlWriter) WriteXml(XmlWriter)

Serializes the ContentLocator to a specified XmlWriter.


INotifyPropertyChanged.PropertyChanged INotifyPropertyChanged.PropertyChanged INotifyPropertyChanged.PropertyChanged INotifyPropertyChanged.PropertyChanged

For a description of this member, see PropertyChanged.

(Inherited from ContentLocatorBase)

Applies to