'Declaration
Public Overridable Function CreateInstance( _ ByVal context As ISystemContext, _ ByVal parent As NodeState, _ ByVal nodeClass As NodeClass, _ ByVal browseName As QualifiedName, _ ByVal referenceTypeId As NodeId, _ ByVal typeDefinitionId As NodeId _ ) As NodeState
'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)
public virtual NodeState CreateInstance( ISystemContext context, NodeState parent, NodeClass nodeClass, QualifiedName browseName, NodeId referenceTypeId, NodeId typeDefinitionId )
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.