Create node references. More...
Public Member Functions | |
NodeReference (string relativePath) | |
Creates a node reference using a relative path. | |
NodeReference (T targetNode) | |
Creates a node reference. | |
T | GetTarget (Node context) |
Gets the node to which a relative node reference points. | |
Public Member Functions inherited from ProjectItemReference< T > | |
T | GetTarget (Node context) |
Gets the node to which a relative node reference points. | |
Additional Inherited Members | |
Properties inherited from ProjectItemReference< T > | |
bool | IsAbsoluteReference [get] |
Gets whether a project item reference is an absolute reference. | |
Create node references.
For example, use a node reference in a message action to set the target item.
T |
|
inline |
Creates a node reference using a relative path.
relativePath | Relative path to the node to which you want the reference to point. |
Examples
To create a node reference using a relative path:
|
inline |
Creates a node reference.
targetNode | The node to which you want the reference to point. |
Examples
To create a node reference:
Gets the node to which a relative node reference points.
context | The node that you use to resolve the relative path to the target node. |
Examples
To get the node to which a relative node reference points: