'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Shared Function SetState(Of TNode As Node)( _ ByVal node As TNode, _ ByVal state As Object _ ) As TNode
'Usage
Dim node As TNode Dim state As Object Dim value As TNode value = NodeExtension.SetState(Of TNode)(node, state)
Parameters
- node
- The node that will be modified and returned.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - state
- The state object.
The value of this parameter can be
null
(Nothing
in Visual Basic).
Type Parameters
- TNode
Return Value
This method never returns null
(Nothing
in Visual Basic).