Bewerken

Share via


ContentLocator Class

Definition

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
Inheritance
ContentLocator
Implements

Remarks

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.

Constructors

ContentLocator()

Initializes a new instance of the ContentLocator class.

Properties

Parts

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

Methods

Clone()

Creates a modifiable deep copy clone of this ContentLocator.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetSchema()

Always returns null. For schema details, see Annotations Schema.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ReadXml(XmlReader)

Deserializes the ContentLocator from a specified XmlReader.

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()

Returns a string that represents the current object.

(Inherited from Object)
WriteXml(XmlWriter)

Serializes the ContentLocator to a specified XmlWriter.

Explicit Interface Implementations

INotifyPropertyChanged.PropertyChanged

This API supports the product infrastructure and is not intended to be used directly from your code.

For a description of this member, see PropertyChanged.

(Inherited from ContentLocatorBase)

Applies to