Properties Class
Definition
A collection of properties for a node. Properties allow you to store arbitrary data against a node and will be copying during calls to Copy(). Properties can have a single value or multiple values.
Properties
Name | Description |
---|---|
The number of properties in the collection. |
Methods
Name | Description |
---|---|
Adds values to a multiple valued property with the specified key. | |
Adds a value to a multiple valued property with the specified key. | |
Tests whether a property exists with the specified key. | |
Returns an enumerator that enumerates over the properties. Returns the name as the key and an untyped object for the value. This will be the object itself for single value properties and a List<T> of objects for multiple value properties. | |
Gets the values of a multiple valued property with the specified key. | |
Gets the value of a single valued property with the specified key or returns a default value if the property does not exist. | |
Gets the value of a single valued property with the specified key or returns a default value if the property does not exist. | |
Gets the value of a single valued property with the specified key or throws an exception if the property does not exist. | |
Gets the value of a single valued property with the specified key or throws an exception if the property does not exist. Uses a field to cache the value for better performance. | |
Gets the value of a single valued property with the specified key or throws an exception if the property does not exist. Uses a field to cache the value for better performance. | |
Gets the value of a single valued property with the specified key or throws an exception if the property does not exist. | |
Gets the value of a single valued property with the specified key or throws an exception if the property does not exist. Uses a field to cache the value for better performance. | |
Gets the value of a single valued property with the specified key or throws an exception if the property does not exist. Uses a field to cache the value for better performance. | |
Gets the value of a single valued property with the specified key or throws an exception if the property does not exist. | |
Gets the value of a single valued property with the specified key or throws an exception if the property does not exist. Uses a field to cache the value for better performance. | |
Gets the value of a single valued property with the specified key or throws an exception if the property does not exist. Uses a field to cache the value for better performance. | |
Sets the value of a single valued property with the specified key. | |
Sets the value of a single valued property with the specified key. Uses a field to cache the value for better performance. | |
Sets the value of a single valued property with the specified key. Uses a field to cache the value for better performance. | |
Sets the values of a multiple valued property with the specified key. Any existing values are replaced. | |
Tries to add a value to a multiple valued property with the specified key. If the value already exists in the multiple then it is not added. | |
Tries to get the value of a single valued property with the specified key. |