Skip to content

Reference

OpcAddDataVariableNode Members

Defines a single command of the IOpcAddNodesService used to add one data variable node.

Reference

OpcAddDataVariableNode Members ​

Type
OpcAddDataVariableNode
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from OpcAddVariableNode, OpcAddInstanceNode, OpcAddNode, OpcNodeServiceCommand, OpcServiceCommand.

Constructors ​

OpcAddDataVariableNode ​

20 overloads

OverloadDescription
OpcAddDataVariableNode(OpcName)Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add.
OpcAddDataVariableNode(OpcName, object)Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add.
OpcAddDataVariableNode(OpcName, OpcNodeId)Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined.
OpcAddDataVariableNode(OpcName, OpcNodeId, object)Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined.
OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId)Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined.
OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId, object)Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined.
OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType)Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined.
OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, object)Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined.
OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId, OpcNodeId)Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined.
OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId, OpcNodeId, object)Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined.
OpcAddDataVariableNode(OpcVariableType, OpcName)protectedInitializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name defined.
OpcAddDataVariableNode(OpcVariableType, OpcName, object)protectedInitializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name defined.
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId)protectedInitializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined.
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, object)protectedInitializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined.
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId)protectedInitializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined.
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, object)protectedInitializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined.
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType)protectedInitializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined.
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, object)protectedInitializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined.
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcNodeId)protectedInitializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined.
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcNodeId, object)protectedInitializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined.

OpcAddDataVariableNode(OpcName) ​

Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

csharp
public OpcAddDataVariableNode(OpcName name)
vbnet
Public Sub New(name As OpcName)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new data variable node can be accessed.

Exceptions

ExceptionCondition
ArgumentExceptionThe name is equals Null.
ArgumentNullExceptionThe name is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcName, object) ​

Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

csharp
public OpcAddDataVariableNode(OpcName name, object value)
vbnet
Public Sub New(name As OpcName, value As Object)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new data variable node can be accessed.
valueObjectThe initial value of the new data variable node.

Exceptions

ExceptionCondition
ArgumentExceptionThe name is equals Null.
ArgumentNullExceptionThe name is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcName, OpcNodeId) ​

Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

csharp
public OpcAddDataVariableNode(OpcName name, OpcNodeId nodeId)
vbnet
Public Sub New(name As OpcName, nodeId As OpcNodeId)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

Exceptions

ExceptionCondition
ArgumentExceptionThe name is equals Null.
ArgumentNullExceptionThe name or nodeId is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcName, OpcNodeId, object) ​

Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

csharp
public OpcAddDataVariableNode(OpcName name, OpcNodeId nodeId, object value)
vbnet
Public Sub New(name As OpcName, nodeId As OpcNodeId, value As Object)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
valueObjectThe initial value of the new data variable node.

Exceptions

ExceptionCondition
ArgumentExceptionThe name is equals Null.
ArgumentNullExceptionThe name or nodeId is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId) ​

Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by parentNodeId using HasComponent as the type of reference.

csharp
public OpcAddDataVariableNode(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId)
vbnet
Public Sub New(name As OpcName, nodeId As OpcNodeId, parentNodeId As OpcNodeId)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using HasComponent as the type of reference.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId, object) ​

Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by parentNodeId using HasComponent as the type of reference.

csharp
public OpcAddDataVariableNode(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    object value)
vbnet
Public Sub New(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    value As Object)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using HasComponent as the type of reference.
valueObjectThe initial value of the new data variable node.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType) ​

Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by parentNodeId using the referenceType specified as the type of reference.

csharp
public OpcAddDataVariableNode(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcReferenceType referenceType)
vbnet
Public Sub New(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceType As OpcReferenceType)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using HasComponent as the type of reference.
referenceTypeOpcReferenceTypeOne of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, object) ​

Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by parentNodeId using the referenceType specified as the type of reference.

csharp
public OpcAddDataVariableNode(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcReferenceType referenceType,
    object value)
vbnet
Public Sub New(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceType As OpcReferenceType,
    value As Object)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using HasComponent as the type of reference.
referenceTypeOpcReferenceTypeOne of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId.
valueObjectThe initial value of the new data variable node.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId, OpcNodeId) ​

Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by parentNodeId using the type of reference identified by the referenceTypeId specified.

csharp
public OpcAddDataVariableNode(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcNodeId referenceTypeId)
vbnet
Public Sub New(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceTypeId As OpcNodeId)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId.
referenceTypeIdOpcNodeIdThe OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId or referenceTypeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId, parentNodeId or referenceTypeId is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId, OpcNodeId, object) ​

Initializes a new instance of the OpcAddDataVariableNode class using the name of the data variable node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by parentNodeId using the type of reference identified by the referenceTypeId specified.

csharp
public OpcAddDataVariableNode(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcNodeId referenceTypeId,
    object value)
vbnet
Public Sub New(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceTypeId As OpcNodeId,
    value As Object)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId.
referenceTypeIdOpcNodeIdThe OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId.
valueObjectThe initial value of the new data variable node.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId or referenceTypeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId, parentNodeId or referenceTypeId is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcVariableType, OpcName) ​

protected

Initializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name defined. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

csharp
protected OpcAddDataVariableNode(OpcVariableType type, OpcName name)
vbnet
Protected Sub New(type As OpcVariableType, name As OpcName)

Parameters

NameTypeDescription
typeOpcVariableTypeOne of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new data variable node can be accessed.

Exceptions

ExceptionCondition
ArgumentExceptionThe name is equals Null.
ArgumentNullExceptionThe name is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcVariableType, OpcName, object) ​

protected

Initializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name defined. The according OpcNodeId to identify and access the new node is determined by the service. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

csharp
protected OpcAddDataVariableNode(
    OpcVariableType type,
    OpcName name,
    object value)
vbnet
Protected Sub New(type As OpcVariableType, name As OpcName, value As Object)

Parameters

NameTypeDescription
typeOpcVariableTypeOne of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new data variable node can be accessed.
valueObjectThe initial value of the new data variable node.

Exceptions

ExceptionCondition
ArgumentExceptionThe name is equals Null.
ArgumentNullExceptionThe name is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId) ​

protected

Initializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

csharp
protected OpcAddDataVariableNode(
    OpcVariableType type,
    OpcName name,
    OpcNodeId nodeId)
vbnet
Protected Sub New(type As OpcVariableType, name As OpcName, nodeId As OpcNodeId)

Parameters

NameTypeDescription
typeOpcVariableTypeOne of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

Exceptions

ExceptionCondition
ArgumentExceptionThe name is equals Null.
ArgumentNullExceptionThe name or nodeId is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, object) ​

protected

Initializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the ObjectsFolder node using HasComponent as the type of reference.

csharp
protected OpcAddDataVariableNode(
    OpcVariableType type,
    OpcName name,
    OpcNodeId nodeId,
    object value)
vbnet
Protected Sub New(
    type As OpcVariableType,
    name As OpcName,
    nodeId As OpcNodeId,
    value As Object)

Parameters

NameTypeDescription
typeOpcVariableTypeOne of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
valueObjectThe initial value of the new data variable node.

Exceptions

ExceptionCondition
ArgumentExceptionThe name is equals Null.
ArgumentNullExceptionThe name or nodeId is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId) ​

protected

Initializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using HasComponent as the type of reference.

csharp
protected OpcAddDataVariableNode(
    OpcVariableType type,
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId)
vbnet
Protected Sub New(
    type As OpcVariableType,
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId)

Parameters

NameTypeDescription
typeOpcVariableTypeOne of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using HasComponent as the type of reference.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, object) ​

protected

Initializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using HasComponent as the type of reference.

csharp
protected OpcAddDataVariableNode(
    OpcVariableType type,
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    object value)
vbnet
Protected Sub New(
    type As OpcVariableType,
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    value As Object)

Parameters

NameTypeDescription
typeOpcVariableTypeOne of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using HasComponent as the type of reference.
valueObjectThe initial value of the new data variable node.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType) ​

protected

Initializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the referenceType specified as the type of reference.

csharp
protected OpcAddDataVariableNode(
    OpcVariableType type,
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcReferenceType referenceType)
vbnet
Protected Sub New(
    type As OpcVariableType,
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceType As OpcReferenceType)

Parameters

NameTypeDescription
typeOpcVariableTypeOne of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using HasComponent as the type of reference.
referenceTypeOpcReferenceTypeOne of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, object) ​

protected

Initializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the referenceType specified as the type of reference.

csharp
protected OpcAddDataVariableNode(
    OpcVariableType type,
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcReferenceType referenceType,
    object value)
vbnet
Protected Sub New(
    type As OpcVariableType,
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceType As OpcReferenceType,
    value As Object)

Parameters

NameTypeDescription
typeOpcVariableTypeOne of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using HasComponent as the type of reference.
referenceTypeOpcReferenceTypeOne of the members defined by the OpcReferenceType enumeration to use to setup the reference between the new node and the existing parent node identified by parentNodeId.
valueObjectThe initial value of the new data variable node.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId or parentNodeId is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcNodeId) ​

protected

Initializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the type of reference identified by the referenceTypeId specified.

csharp
protected OpcAddDataVariableNode(
    OpcVariableType type,
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcNodeId referenceTypeId)
vbnet
Protected Sub New(
    type As OpcVariableType,
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceTypeId As OpcNodeId)

Parameters

NameTypeDescription
typeOpcVariableTypeOne of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId.
referenceTypeIdOpcNodeIdThe OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId or referenceTypeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId, parentNodeId or referenceTypeId is a null reference (Nothing in Visual Basic).

OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcNodeId, object) ​

protected

Initializes a new instance of the OpcAddDataVariableNode class using the specified type of data variable node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the node identified by parentNodeId using the type of reference identified by the referenceTypeId specified.

csharp
protected OpcAddDataVariableNode(
    OpcVariableType type,
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcNodeId referenceTypeId,
    object value)
vbnet
Protected Sub New(
    type As OpcVariableType,
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceTypeId As OpcNodeId,
    value As Object)

Parameters

NameTypeDescription
typeOpcVariableTypeOne of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of.
nameOpcNameThe OpcName through that the new data variable node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId.
referenceTypeIdOpcNodeIdThe OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId.
valueObjectThe initial value of the new data variable node.

Exceptions

ExceptionCondition
ArgumentExceptionThe parentNodeId or referenceTypeId is equals Null or name is equals Null.
ArgumentNullExceptionThe name, nodeId, parentNodeId or referenceTypeId is a null reference (Nothing in Visual Basic).