Export (0) Print
Expand All

ContentLocator Class

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

Namespace:  System.Windows.Annotations
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: Not mapped to an xmlns.

public sealed class ContentLocator : ContentLocatorBase, 
	IXmlSerializable
<ContentLocator .../>

The ContentLocator type exposes the following members.

  NameDescription
Public methodContentLocatorInitializes a new instance of the ContentLocator class.
Top

  NameDescription
Public propertyPartsGets the collection of ContentLocatorPart elements that make up this ContentLocator.
Top

  NameDescription
Public methodCloneCreates a modifiable deep copy clone of this ContentLocator. (Overrides ContentLocatorBase.Clone().)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetSchemaAlways returns null. See Annotations Schema for schema details.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodReadXmlDeserializes the ContentLocator from a specified XmlReader.
Public methodStartsWithReturns a value that indicates whether the starting sequence of ContentLocatorPart elements in a specified ContentLocator are identical to those in this ContentLocator.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWriteXmlSerializes the ContentLocator to a specified XmlWriter.
Top

  NameDescription
Explicit interface implemetationPrivate eventINotifyPropertyChanged.PropertyChangedInfrastructure. For a description of this member, see INotifyPropertyChanged.PropertyChanged. (Inherited from ContentLocatorBase.)
Top

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

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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