'Declaration<ExtensionAttribute()> <NotNullAttribute()> Public Shared Function SetState(Of TNode As Node)( _ ByVal node As TNode, _ ByVal state As Object _ ) As TNode
'UsageDim 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(Nothingin Visual Basic). - state
- The state object.
The value of this parameter can be
null(Nothingin Visual Basic).
Type Parameters
- TNode
Return Value
This method never returns null (Nothing in Visual Basic).