Skip to content

Reference

OpcNodeTypes Members

Provides the identifiers of the base node types and methods to determine the identifier of the node type which a .NET type represents.

Reference

OpcNodeTypes Members ​

Type
OpcNodeTypes
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Fields ​

Object ​

static

Represents the identifier of the BaseObjectType object type.

csharp
public static readonly OpcNodeId Object
vbnet
Public Shared ReadOnly [Object] As OpcNodeId

Field value

OpcNodeId

Variable ​

static

Represents the identifier of the BaseVariableType variable type.

csharp
public static readonly OpcNodeId Variable
vbnet
Public Shared ReadOnly Variable As OpcNodeId

Field value

OpcNodeId

Methods ​

GetNodeId ​

static · 3 overloads

OverloadDescription
GetNodeId<T>()staticDetermines the identifier of the node type which the type specified by T represents.
GetNodeId(Type)staticDetermines the identifier of the node type which the type specified represents.
GetNodeId(object)staticDetermines the identifier of the node type which the type of the node specified represents.

GetNodeId<T>() ​

static

Determines the identifier of the node type which the type specified by T represents.

csharp
public static OpcNodeId GetNodeId<T>()
vbnet
Public Shared Function GetNodeId(Of T)() As OpcNodeId

Type parameters

NameDescription
TThe node class whose node type is to be determined.

Returns

OpcNodeId

The identifier of the node type (see GetNodeId).

GetNodeId(Type) ​

static

Determines the identifier of the node type which the type specified represents.

csharp
public static OpcNodeId GetNodeId(Type type)
vbnet
Public Shared Function GetNodeId(type As Type) As OpcNodeId

Parameters

NameTypeDescription
typeTypeThe node class whose node type is to be determined.

Returns

OpcNodeId

Object for OpcObjectNode, Variable for OpcVariableNode, the identifier of the OpcNodeTypeAttribute of the type or the identifier of the node type the SDK has already determined for the type; Null if the type is a null reference (Nothing in Visual Basic), and a null reference if the type does not represent a known node type.

GetNodeId(object) ​

static

Determines the identifier of the node type which the type of the node specified represents.

csharp
public static OpcNodeId GetNodeId(object node)
vbnet
Public Shared Function GetNodeId(node As Object) As OpcNodeId

Parameters

NameTypeDescription
nodeObjectThe node whose node type is to be determined.

Returns

OpcNodeId

The identifier of the node type of the type of the node (see GetNodeId), or Null if the node is a null reference (Nothing in Visual Basic).