ContentLocator Class

ContentLocator Class

 

Represents an ordered set of ContentLocatorPart elements that identify an item of content.

Namespace:   System.Windows.Annotations
Assembly:  PresentationFramework (in PresentationFramework.dll)

System.Object
  System.Windows.Annotations.ContentLocatorBase
    System.Windows.Annotations.ContentLocator

public sealed class ContentLocator : ContentLocatorBase, IXmlSerializable

NameDescription
System_CAPS_pubmethodContentLocator()

Initializes a new instance of the ContentLocator class.

NameDescription
System_CAPS_pubpropertyParts

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

NameDescription
System_CAPS_pubmethodClone()

Creates a modifiable deep copy clone of this ContentLocator.(Overrides ContentLocatorBase.Clone().)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetSchema()

Always returns null. See Annotations Schema for schema details.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodReadXml(XmlReader)

Deserializes the ContentLocator from a specified XmlReader.

System_CAPS_pubmethodStartsWith(ContentLocator)

Returns a value that indicates whether the starting sequence of ContentLocatorPart elements in a specified ContentLocator are identical to those in this ContentLocator.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodWriteXml(XmlWriter)

Serializes the ContentLocator to a specified XmlWriter.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_priveventINotifyPropertyChanged.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 INotifyPropertyChanged.PropertyChanged.(Inherited from ContentLocatorBase.)

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.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft