EasyUA Reference
CreateInstance Method
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > NodeStateFactory Class : CreateInstance Method

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.

Glossary Item Box

Creates a new instance.

Syntax

Visual Basic (Usage)Copy Code
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)

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.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.