Skip to content

Reference

OpcAddVariableNode.TypeDefinition Members

Refers to a type definition which can be used to define typed OpcAddVariableNode command instances.

Reference

OpcAddVariableNode.TypeDefinition Members ​

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

Properties ​

TypeDefinitionId ​

Gets the identifier which identifies the node that defines the node definition represented by this instance.

csharp
public OpcNodeId TypeDefinitionId { get; }
vbnet
Public ReadOnly Property TypeDefinitionId As OpcNodeId

Property value

OpcNodeId

The OpcNodeId of the type node from that additional nodes can be created from.

Methods ​

Create ​

10 overloads

OverloadDescription
Create(OpcName)Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific variable node to add.
Create(OpcName, object)Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific variable node to add.
Create(OpcName, OpcNodeId)Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific variable node to add, which shall be additionally accessible by the nodeId defined.
Create(OpcName, OpcNodeId, object)Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific variable node to add, which shall be additionally accessible by the nodeId defined.
Create(OpcName, OpcNodeId, OpcNodeId)Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific variable node to add, which shall be additionally accessible by the nodeId defined.
Create(OpcName, OpcNodeId, OpcNodeId, object)Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific variable node to add, which shall be additionally accessible by the nodeId defined.
Create(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType)Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific variable node to add, which shall be additionally accessible by the nodeId defined.
Create(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, object)Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific variable node to add, which shall be additionally accessible by the nodeId defined.
Create(OpcName, OpcNodeId, OpcNodeId, OpcNodeId)Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific variable node to add, which shall be additionally accessible by the nodeId defined.
Create(OpcName, OpcNodeId, OpcNodeId, OpcNodeId, object)Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific variable node to add, which shall be additionally accessible by the nodeId defined.

Create(OpcName) ​

Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific 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 OpcAddVariableNode Create(OpcName name)
vbnet
Public Function Create(name As OpcName) As OpcAddVariableNode

Parameters

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

Returns

OpcAddVariableNode

Exceptions

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

Create(OpcName, object) ​

Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific 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 OpcAddVariableNode Create(OpcName name, object value)
vbnet
Public Function Create(name As OpcName, value As Object) As OpcAddVariableNode

Parameters

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

Returns

OpcAddVariableNode

Exceptions

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

Create(OpcName, OpcNodeId) ​

Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific 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 OpcAddVariableNode Create(OpcName name, OpcNodeId nodeId)
vbnet
Public Function Create(
    name As OpcName,
    nodeId As OpcNodeId) As OpcAddVariableNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new 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.

Returns

OpcAddVariableNode

Exceptions

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

Create(OpcName, OpcNodeId, object) ​

Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific 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 OpcAddVariableNode Create(OpcName name, OpcNodeId nodeId, object value)
vbnet
Public Function Create(
    name As OpcName,
    nodeId As OpcNodeId,
    value As Object) As OpcAddVariableNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new 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 variable node.

Returns

OpcAddVariableNode

Exceptions

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

Create(OpcName, OpcNodeId, OpcNodeId) ​

Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific 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 OpcAddVariableNode Create(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId)
vbnet
Public Function Create(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId) As OpcAddVariableNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new 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.

Returns

OpcAddVariableNode

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).

Create(OpcName, OpcNodeId, OpcNodeId, object) ​

Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific 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 OpcAddVariableNode Create(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    object value)
vbnet
Public Function Create(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    value As Object) As OpcAddVariableNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new 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 variable node.

Returns

OpcAddVariableNode

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).

Create(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType) ​

Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific 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 OpcAddVariableNode Create(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcReferenceType referenceType)
vbnet
Public Function Create(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceType As OpcReferenceType) As OpcAddVariableNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new 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.

Returns

OpcAddVariableNode

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).

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

Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific 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 OpcAddVariableNode Create(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcReferenceType referenceType,
    object value)
vbnet
Public Function Create(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceType As OpcReferenceType,
    value As Object) As OpcAddVariableNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new 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 variable node.

Returns

OpcAddVariableNode

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).

Create(OpcName, OpcNodeId, OpcNodeId, OpcNodeId) ​

Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific 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 OpcAddVariableNode Create(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcNodeId referenceTypeId)
vbnet
Public Function Create(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceTypeId As OpcNodeId) As OpcAddVariableNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new 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.

Returns

OpcAddVariableNode

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).

Create(OpcName, OpcNodeId, OpcNodeId, OpcNodeId, object) ​

Provides a new instance of the OpcAddVariableNode class using the name of the OpcAddVariableNode.TypeDefinition specific 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 OpcAddVariableNode Create(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcNodeId referenceTypeId,
    object value)
vbnet
Public Function Create(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceTypeId As OpcNodeId,
    value As Object) As OpcAddVariableNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new 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 variable node.

Returns

OpcAddVariableNode

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).