EasyUA Reference
NodeId Constructor(String,UInt16)
See Also  Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace > NodeId Class > NodeId Constructor : NodeId Constructor(String,UInt16)

value
The new (string) Id for the node being created
namespaceIndex
The index of the namespace that this node belongs to

Glossary Item Box

Initializes a string node identifier with a namespace index.

Syntax

Visual Basic (Usage)Copy Code
Dim value As String
Dim namespaceIndex As UShort
 
Dim instance As New NodeId(value, namespaceIndex)
C# 
public NodeId( 
   string value,
   ushort namespaceIndex
)

Parameters

value
The new (string) Id for the node being created
namespaceIndex
The index of the namespace that this node belongs to

Remarks

Creates a new NodeId that will use a string for its Id, but also specifies if the Id is a URI, and which namespace this node belongs to.

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.