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

nodeId
The NodeId to return, wrapped in within the ExpandedNodeId.
namespaceTable
The namespace tables collection that may be used to retrieve the namespace from that the specified NodeId belongs to

Glossary Item Box

Converts an node id to an expanded node id using a namespace table.

Syntax

Visual Basic (Usage)Copy Code
Dim nodeId As NodeId
Dim namespaceTable As NamespaceTable
Dim value As ExpandedNodeId
 
value = NodeId.ToExpandedNodeId(nodeId, namespaceTable)
C# 
public static ExpandedNodeId ToExpandedNodeId( 
   NodeId nodeId,
   NamespaceTable namespaceTable
)

Parameters

nodeId
The NodeId to return, wrapped in within the ExpandedNodeId.
namespaceTable
The namespace tables collection that may be used to retrieve the namespace from that the specified NodeId belongs to

Return Value

null, if the nodeId parameter is null. Otherwise an ExpandedNodeId will be returned for the specified nodeId

Remarks

Returns an ExpandedNodeId based on the NodeId requested in the parameters. If the namespaceTable is specified then the relevant namespace will be returned from the namespaceTable collection which is also passed in as a parameter.

Requirements

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

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.