[This is preliminary documentation and is subject to change.]

Syntax

C#
public struct PropertyChain
Visual Basic (Declaration)
Public Structure PropertyChain
Visual C++
public value class PropertyChain

The type exposes the following members.

Public Constructors

  NameDescription
Public methodPropertyChainPropertyChainNewOverloaded.

Public Methods

  NameDescription
Public methodCopyTo
Copy the property chain into an array.
Public operatorStatic memberEquality
Compare two PropertyChains for equality.
Public methodEquals
Compare one PropertyChain to another.
(Overrides ValueType..::Equals(Object).)
Public methodExtractSubPath
Extract part of the path.
Public methodGetEnumerator
Get an enumerator to iterate over the PropertyHandle in this chain.
Public methodGetHashCode
Constructs a hashcode from the hashcodes provided by the PropertyHandles in this chain.
(Overrides ValueType..::GetHashCode()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOfOverloaded.
Public operatorStatic memberInequality
Compare two PropertyChains for inequality.
Public methodIsStartingWith
Verify whether the supplied path is a subpath of the current one, beginning at the same root.
Public methodStatic memberJoin
Joins two property chains together
Public methodStatic memberLeafsOf
Converts property chain array to property handle array by gathering leafs of each chain.
Public methodResolveForRoot
Resolves the current path for a different root.
Public methodToStringOverloaded.

Protected Methods

  NameDescription
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Fields

  NameDescription
Public fieldStatic memberEmpty
Empty path.

Public Properties

  NameDescription
Public propertyChain
Returns the complete property chain as array of PropertyHandles, starting with root, ending with leaf.
Public propertyCount
The number of PropertyHandle in this chain.
Public propertyIsEmpty
Returns true if the path is not containing any elements.
Public propertyIsRoot
Returns true if the path only contains a root property.
Public propertyIsSynchronized
No need for synchronisation, once created the path is never changed.
Public propertyItem
Access path element by index.
Public propertyLeaf
Returns the leaf property of the path, i.e. the outer most property.
Public propertyParent
Returns the parent property handle, i.e. parent of the leaf or PropertyHandle.Null if the path is empty or only contains a root property (therefore no parent)
Public propertyRoot
Returns root property handle or Null if the path is empty.
Public propertySyncRoot
No need for synchronisation, once created the path is never changed.
Public propertyTopLevel
Returns top-level property handle (first element before the root) or Null if there's no such element.

See Also