[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 properties.
Public Properties
| Name | Description | |
|---|---|---|
| Chain |
Returns the complete property chain as array of PropertyHandles, starting with root, ending with leaf.
| |
| Count |
The number of PropertyHandle in this chain.
| |
| IsEmpty |
Returns true if the path is not containing any elements.
| |
| IsRoot |
Returns true if the path only contains a root property.
| |
| IsSynchronized |
No need for synchronisation, once created the path is never changed.
| |
| Item |
Access path element by index.
| |
| Leaf |
Returns the leaf property of the path, i.e. the outer most property.
| |
| Parent |
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)
| |
| Root |
Returns root property handle or Null if the path is empty.
| |
| SyncRoot |
No need for synchronisation, once created the path is never changed.
| |
| TopLevel |
Returns top-level property handle (first element before the root) or Null if there's no such element.
|
See Also
Spielwerke.Data Namespace