 | graphNodeCustomGetSibling Method |
imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the sibling, relative to this node, positioned at n places defined by direction. It is range-safe, in sense: if node index + direction is higher then number of siblings, it will return the last sibling.
Namespace:
imbSCI.Data.collection.graph
Assembly:
imbSCI.Data (in imbSCI.Data.dll) Version: 0.3.70.
SyntaxRequest Example
View SourceParameters
- direction (Optional)
- Type: SystemInt32
The direction, relative to index of this node. If it is 0, it will return this node
Return Value
Type:
IGraphNodeSibling node, relative to index of this and
direction specified
RemarksIf there is no parent: it will return null
If direction + index is less then zero, it will return sibling at zero
See Also