Visual Basic (Usage) | ![]() |
---|---|
Dim instance As NodeStateFactory Dim context As ISystemContext Dim parent As NodeState Dim nodeClass As NodeClass Dim browseName As QualifiedName Dim referenceTypeId As NodeId Dim typeDefinitionId As NodeId Dim value As NodeState value = instance.CreateInstance(context, parent, nodeClass, browseName, referenceTypeId, typeDefinitionId) |
C# | |
---|---|
public virtual NodeState CreateInstance( ISystemContext context, NodeState parent, NodeClass nodeClass, QualifiedName browseName, NodeId referenceTypeId, NodeId typeDefinitionId ) |
Parameters
- context
- The current context.
- parent
- The parent.
- nodeClass
- The node class.
- browseName
- The browse name.
- referenceTypeId
- The reference type between the parent and the node.
- typeDefinitionId
- The type definition.
Return Value
Returns null if the type is not known.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x