Visual Basic (Declaration) | |
---|---|
Public Overrides Function New( _ ByVal context As ISystemContext, _ ByVal node As NodeState _ ) As NodeId |
C# | |
---|---|
public override NodeId New( ISystemContext context, NodeState node ) |
Parameters
- context
- The context.
- node
- The node.
Return Value
The new NodeId.
This method is called by the NodeState.Create() method which initializes a Node from
the type model. During initialization a number of child nodes are created and need to
have NodeIds assigned to them. This implementation constructs NodeIds by constructing
strings. Other implementations could assign unique integers or Guids and save the new
Node in a dictionary for later lookup.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family