[]
Returns a reference to a node located at a given position relative to this node.
public Node GetNode(NodeTypeEnum position)
Type | Name | Description |
---|---|---|
NodeTypeEnum | position | A value from the NodeTypeEnum enumeration that specifies the position relative to this node. |
Type | Description |
---|---|
Node | A node object. |
If the node requested does not exist, GetNode(NodeTypeEnum) returns null (for example, the root node does not have a previous sibling).