[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
| Name | Description | |
|---|---|---|
| PropertyChainPropertyChainNew | Overloaded. |
Public Methods
| Name | Description | |
|---|---|---|
| CopyTo |
Copy the property chain into an array.
| |
| Equality |
Compare two PropertyChains for equality.
| |
| Equals |
Compare one PropertyChain to another.
(Overrides | |
| ExtractSubPath |
Extract part of the path.
| |
| GetEnumerator |
Get an enumerator to iterate over the PropertyHandle in this chain.
| |
| GetHashCode |
Constructs a hashcode from the hashcodes provided
by the PropertyHandles in this chain.
(Overrides | |
Gets the (Inherited from | ||
| IndexOf | Overloaded. | |
| Inequality |
Compare two PropertyChains for inequality.
| |
| IsStartingWith |
Verify whether the supplied path is a subpath of the current one, beginning at the same root.
| |
| Join |
Joins two property chains together
| |
| LeafsOf |
Converts property chain array to property handle array by gathering leafs of each chain.
| |
| ResolveForRoot |
Resolves the current path for a different root.
| |
| ToString | Overloaded. |
Protected Methods
| Name | Description | |
|---|---|---|
Allows an (Inherited from | ||
Creates a shallow copy of the current (Inherited from |
Public Fields
| Name | Description | |
|---|---|---|
| Empty |
Empty path.
|
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