Rediģēt

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

Name Description
ContentLocator()

Initializes a new instance of the ContentLocator class.

Properties

Name Description
Parts

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

Methods

Name Description
Clone()

Creates a modifiable deep copy clone of this ContentLocator.

GetSchema()

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

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.

WriteXml(XmlWriter)

Serializes the ContentLocator to a specified XmlWriter.

Explicit Interface Implementations

Name Description
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