Access and configure property values. More...
Public Member Functions | |
object | Get (string propertyName) |
Gets the value of a property. More... | |
object | Get (Property property) |
Gets the value of a property. More... | |
T | Get< T > (TypedProperty< T > property) |
Gets the value of a property. More... | |
void | Set (string propertyName, object value) |
Sets the value of a property. More... | |
void | Set< T > (TypedProperty< T > property, T value) |
Sets the value of a property. More... | |
Properties | |
IEnumerable< Property > | Properties [get] |
Gets the properties in a project item or node component. More... | |
Access and configure property values.
object Get | ( | string | propertyName | ) |
Gets the value of a property.
propertyName | The name of the property whose value you want to get. |
Examples
To get the value of a property in a node using the name of the property:
object Get | ( | Property | property | ) |
Gets the value of a property.
property | The property whose value you want to get. |
Examples
To get the values of all properties in a node:
T Get< T > | ( | TypedProperty< T > | property | ) |
Gets the value of a property.
T | The type of the property whose value you want to get. |
property | The property whose value you want to get. |
Examples
To get the value of a property in a resource:
void Set | ( | string | propertyName, |
object | value | ||
) |
Sets the value of a property.
propertyName | The name of the property whose value you want to set. |
value | The value to which you want to set the property. |
Examples
To set the values of properties in triggers and actions using the names of the properties:
void Set< T > | ( | TypedProperty< T > | property, |
T | value | ||
) |
Sets the value of a property.
T | The type of the property whose value you want to set. |
property | The property whose value you want to set. |
value | The value to which you want to set the property. |
Examples
To set the value of a property in a node to a resource:
|
get |
Gets the properties in a project item or node component.