Reference
OpcAddVariableNode Members
Defines an abstract base class for a single command of the IOpcAddNodesService used to add one variable node (nodes of the category Variable).
Reference
OpcAddVariableNode Members
- Type
- OpcAddVariableNode
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Inherits members from OpcAddInstanceNode, OpcAddNode, OpcNodeServiceCommand, OpcServiceCommand.
Constructors
OpcAddVariableNode
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opctype of variable node to add, which shall be accessible by the name defined. |
| Opc | Initializes a new instance of the Opctype of variable node to add, which shall be accessible by the name defined. |
| Opc | Initializes a new instance of the Opctype of variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opctype of variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opctype of variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opctype of variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opctype of variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opctype of variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opctype of variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opctype of variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the OpctypeDefinitionId of variable node to add, which shall be accessible by the name defined. |
| Opc | Initializes a new instance of the OpctypeDefinitionId of variable node to add, which shall be accessible by the name defined. |
| Opc | Initializes a new instance of the OpctypeDefinitionId of variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the OpctypeDefinitionId of variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the OpctypeDefinitionId of variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the OpctypeDefinitionId of variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the OpctypeDefinitionId of variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the OpctypeDefinitionId of variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the OpctypeDefinitionId of variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the OpctypeDefinitionId of variable node to add, which shall be accessible by the name and nodeId defined. |
OpcAddVariableNode(OpcVariableType, OpcName)
Initializes a new instance of the OpcAddVariableNode class using the specified type of 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.
protected OpcAddVariableNode(OpcVariableType type, OpcName name)Protected Sub New(type As OpcVariableType, name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
type | OpcVariableType | One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name is a null reference ( |
OpcAddVariableNode(OpcVariableType, OpcName, object)
Initializes a new instance of the OpcAddVariableNode class using the specified type of 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.
protected OpcAddVariableNode(OpcVariableType type, OpcName name, object value)Protected Sub New(type As OpcVariableType, name As OpcName, value As Object)Parameters
| Name | Type | Description |
|---|---|---|
type | OpcVariableType | One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
value | Object | The initial value of the new variable node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name is a null reference ( |
OpcAddVariableNode(OpcVariableType, OpcName, OpcNodeId)
Initializes a new instance of the OpcAddVariableNode class using the specified type of 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.
protected OpcAddVariableNode(
OpcVariableType type,
OpcName name,
OpcNodeId nodeId)Protected Sub New(type As OpcVariableType, name As OpcName, nodeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
type | OpcVariableType | One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name or nodeId is a null reference ( |
OpcAddVariableNode(OpcVariableType, OpcName, OpcNodeId, object)
Initializes a new instance of the OpcAddVariableNode class using the specified type of 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.
protected OpcAddVariableNode(
OpcVariableType type,
OpcName name,
OpcNodeId nodeId,
object value)Protected Sub New(
type As OpcVariableType,
name As OpcName,
nodeId As OpcNodeId,
value As Object)Parameters
| Name | Type | Description |
|---|---|---|
type | OpcVariableType | One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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. |
value | Object | The initial value of the new variable node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name or nodeId is a null reference ( |
OpcAddVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId)
Initializes a new instance of the OpcAddVariableNode class using the specified type of 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.
protected OpcAddVariableNode(
OpcVariableType type,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId)Protected Sub New(
type As OpcVariableType,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
type | OpcVariableType | One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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. |
parentNodeId | OpcNodeId | The OpcNodeId of the parent node to reference using HasComponent as the type of reference. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The parentNodeId is equals Null or name is equals Null. |
| Argument | The name, nodeId or parentNodeId is a null reference ( |
OpcAddVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, object)
Initializes a new instance of the OpcAddVariableNode class using the specified type of 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.
protected OpcAddVariableNode(
OpcVariableType type,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
object value)Protected Sub New(
type As OpcVariableType,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
value As Object)Parameters
| Name | Type | Description |
|---|---|---|
type | OpcVariableType | One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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. |
parentNodeId | OpcNodeId | The OpcNodeId of the parent node to reference using HasComponent as the type of reference. |
value | Object | The initial value of the new variable node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The parentNodeId is equals Null or name is equals Null. |
| Argument | The name, nodeId or parentNodeId is a null reference ( |
OpcAddVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType)
Initializes a new instance of the OpcAddVariableNode class using the specified type of 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.
protected OpcAddVariableNode(
OpcVariableType type,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
OpcReferenceType referenceType)Protected Sub New(
type As OpcVariableType,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
referenceType As OpcReferenceType)Parameters
| Name | Type | Description |
|---|---|---|
type | OpcVariableType | One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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. |
parentNodeId | OpcNodeId | The OpcNodeId of the parent node to reference using HasComponent as the type of reference. |
referenceType | OpcReferenceType | One 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
| Exception | Condition |
|---|---|
| Argument | The parentNodeId is equals Null or name is equals Null. |
| Argument | The name, nodeId or parentNodeId is a null reference ( |
OpcAddVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, object)
Initializes a new instance of the OpcAddVariableNode class using the specified type of 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.
protected OpcAddVariableNode(
OpcVariableType type,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
OpcReferenceType referenceType,
object value)Protected Sub New(
type As OpcVariableType,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
referenceType As OpcReferenceType,
value As Object)Parameters
| Name | Type | Description |
|---|---|---|
type | OpcVariableType | One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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. |
parentNodeId | OpcNodeId | The OpcNodeId of the parent node to reference using HasComponent as the type of reference. |
referenceType | OpcReferenceType | One 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. |
value | Object | The initial value of the new variable node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The parentNodeId is equals Null or name is equals Null. |
| Argument | The name, nodeId or parentNodeId is a null reference ( |
OpcAddVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcNodeId)
Initializes a new instance of the OpcAddVariableNode class using the specified type of 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.
protected OpcAddVariableNode(
OpcVariableType type,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
OpcNodeId referenceTypeId)Protected Sub New(
type As OpcVariableType,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
referenceTypeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
type | OpcVariableType | One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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. |
parentNodeId | OpcNodeId | The OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId. |
referenceTypeId | OpcNodeId | The OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The parentNodeId or referenceTypeId is equals Null or name is equals Null. |
| Argument | The name, nodeId, parentNodeId or referenceTypeId is a null reference ( |
OpcAddVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcNodeId, object)
Initializes a new instance of the OpcAddVariableNode class using the specified type of 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.
protected OpcAddVariableNode(
OpcVariableType type,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
OpcNodeId referenceTypeId,
object value)Protected Sub New(
type As OpcVariableType,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
referenceTypeId As OpcNodeId,
value As Object)Parameters
| Name | Type | Description |
|---|---|---|
type | OpcVariableType | One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying type definition the new node will represent an instance of. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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. |
parentNodeId | OpcNodeId | The OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId. |
referenceTypeId | OpcNodeId | The OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId. |
value | Object | The initial value of the new variable node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The parentNodeId or referenceTypeId is equals Null or name is equals Null. |
| Argument | The name, nodeId, parentNodeId or referenceTypeId is a null reference ( |
OpcAddVariableNode(OpcNodeId, OpcName)
Initializes a new instance of the OpcAddVariableNode class using the specified typeDefinitionId of 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.
protected OpcAddVariableNode(OpcNodeId typeDefinitionId, OpcName name)Protected Sub New(typeDefinitionId As OpcNodeId, name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
typeDefinitionId | OpcNodeId | The OpcNodeId which identifies the type of object to use for the new node. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The typeDefinitionId is equals Null or name is equals Null. |
| Argument | The typeDefinitionId or name is a null reference ( |
OpcAddVariableNode(OpcNodeId, OpcName, object)
Initializes a new instance of the OpcAddVariableNode class using the specified typeDefinitionId of 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.
protected OpcAddVariableNode(
OpcNodeId typeDefinitionId,
OpcName name,
object value)Protected Sub New(
typeDefinitionId As OpcNodeId,
name As OpcName,
value As Object)Parameters
| Name | Type | Description |
|---|---|---|
typeDefinitionId | OpcNodeId | The OpcNodeId which identifies the type of object to use for the new node. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
value | Object | The initial value of the new variable node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The typeDefinitionId is equals Null or name is equals Null. |
| Argument | The typeDefinitionId or name is a null reference ( |
OpcAddVariableNode(OpcNodeId, OpcName, OpcNodeId)
Initializes a new instance of the OpcAddVariableNode class using the specified typeDefinitionId of 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.
protected OpcAddVariableNode(
OpcNodeId typeDefinitionId,
OpcName name,
OpcNodeId nodeId)Protected Sub New(
typeDefinitionId As OpcNodeId,
name As OpcName,
nodeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
typeDefinitionId | OpcNodeId | The OpcNodeId which identifies the type of object to use for the new node. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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
| Exception | Condition |
|---|---|
| Argument | The typeDefinitionId is equals Null or name is equals Null. |
| Argument | The typeDefinitionId, name or nodeId is a null reference ( |
OpcAddVariableNode(OpcNodeId, OpcName, OpcNodeId, object)
Initializes a new instance of the OpcAddVariableNode class using the specified typeDefinitionId of 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.
protected OpcAddVariableNode(
OpcNodeId typeDefinitionId,
OpcName name,
OpcNodeId nodeId,
object value)Protected Sub New(
typeDefinitionId As OpcNodeId,
name As OpcName,
nodeId As OpcNodeId,
value As Object)Parameters
| Name | Type | Description |
|---|---|---|
typeDefinitionId | OpcNodeId | The OpcNodeId which identifies the type of object to use for the new node. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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. |
value | Object | The initial value of the new variable node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The typeDefinitionId is equals Null or name is equals Null. |
| Argument | The typeDefinitionId, name or nodeId is a null reference ( |
OpcAddVariableNode(OpcNodeId, OpcName, OpcNodeId, OpcNodeId)
Initializes a new instance of the OpcAddVariableNode class using the specified typeDefinitionId of 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.
protected OpcAddVariableNode(
OpcNodeId typeDefinitionId,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId)Protected Sub New(
typeDefinitionId As OpcNodeId,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
typeDefinitionId | OpcNodeId | The OpcNodeId which identifies the type of object to use for the new node. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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. |
parentNodeId | OpcNodeId | The OpcNodeId of the parent node to reference using HasComponent as the type of reference. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The typeDefinitionId is equals Null or parentNodeId is equals Null or name is equals Null. |
| Argument | The typeDefinitionId, name, nodeId or parentNodeId is a null reference ( |
OpcAddVariableNode(OpcNodeId, OpcName, OpcNodeId, OpcNodeId, object)
Initializes a new instance of the OpcAddVariableNode class using the specified typeDefinitionId of 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.
protected OpcAddVariableNode(
OpcNodeId typeDefinitionId,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
object value)Protected Sub New(
typeDefinitionId As OpcNodeId,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
value As Object)Parameters
| Name | Type | Description |
|---|---|---|
typeDefinitionId | OpcNodeId | The OpcNodeId which identifies the type of object to use for the new node. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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. |
parentNodeId | OpcNodeId | The OpcNodeId of the parent node to reference using HasComponent as the type of reference. |
value | Object | The initial value of the new variable node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The typeDefinitionId is equals Null or parentNodeId is equals Null or name is equals Null. |
| Argument | The typeDefinitionId, name, nodeId or parentNodeId is a null reference ( |
OpcAddVariableNode(OpcNodeId, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType)
Initializes a new instance of the OpcAddVariableNode class using the specified typeDefinitionId of 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.
protected OpcAddVariableNode(
OpcNodeId typeDefinitionId,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
OpcReferenceType referenceType)Protected Sub New(
typeDefinitionId As OpcNodeId,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
referenceType As OpcReferenceType)Parameters
| Name | Type | Description |
|---|---|---|
typeDefinitionId | OpcNodeId | The OpcNodeId which identifies the type of object to use for the new node. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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. |
parentNodeId | OpcNodeId | The OpcNodeId of the parent node to reference using HasComponent as the type of reference. |
referenceType | OpcReferenceType | One 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
| Exception | Condition |
|---|---|
| Argument | The typeDefinitionId is equals Null or parentNodeId is equals Null or name is equals Null. |
| Argument | The typeDefinitionId, name, nodeId or parentNodeId is a null reference ( |
OpcAddVariableNode(OpcNodeId, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, object)
Initializes a new instance of the OpcAddVariableNode class using the specified typeDefinitionId of 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.
protected OpcAddVariableNode(
OpcNodeId typeDefinitionId,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
OpcReferenceType referenceType,
object value)Protected Sub New(
typeDefinitionId As OpcNodeId,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
referenceType As OpcReferenceType,
value As Object)Parameters
| Name | Type | Description |
|---|---|---|
typeDefinitionId | OpcNodeId | The OpcNodeId which identifies the type of object to use for the new node. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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. |
parentNodeId | OpcNodeId | The OpcNodeId of the parent node to reference using HasComponent as the type of reference. |
referenceType | OpcReferenceType | One 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. |
value | Object | The initial value of the new variable node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The typeDefinitionId is equals Null or parentNodeId is equals Null or name is equals Null. |
| Argument | The typeDefinitionId, name, nodeId or parentNodeId is a null reference ( |
OpcAddVariableNode(OpcNodeId, OpcName, OpcNodeId, OpcNodeId, OpcNodeId)
Initializes a new instance of the OpcAddVariableNode class using the specified typeDefinitionId of 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.
protected OpcAddVariableNode(
OpcNodeId typeDefinitionId,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
OpcNodeId referenceTypeId)Protected Sub New(
typeDefinitionId As OpcNodeId,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
referenceTypeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
typeDefinitionId | OpcNodeId | The OpcNodeId which identifies the type of object to use for the new node. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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. |
parentNodeId | OpcNodeId | The OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId. |
referenceTypeId | OpcNodeId | The OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The typeDefinitionId is equals Null or parentNodeId or referenceTypeId is equals Null or name is equals Null. |
| Argument | The typeDefinitionId, name, nodeId, parentNodeId or referenceTypeId is a null reference ( |
OpcAddVariableNode(OpcNodeId, OpcName, OpcNodeId, OpcNodeId, OpcNodeId, object)
Initializes a new instance of the OpcAddVariableNode class using the specified typeDefinitionId of 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.
protected OpcAddVariableNode(
OpcNodeId typeDefinitionId,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
OpcNodeId referenceTypeId,
object value)Protected Sub New(
typeDefinitionId As OpcNodeId,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
referenceTypeId As OpcNodeId,
value As Object)Parameters
| Name | Type | Description |
|---|---|---|
typeDefinitionId | OpcNodeId | The OpcNodeId which identifies the type of object to use for the new node. |
name | OpcName | The OpcName through that the new variable node can be accessed. |
nodeId | OpcNodeId | The 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. |
parentNodeId | OpcNodeId | The OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId. |
referenceTypeId | OpcNodeId | The OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId. |
value | Object | The initial value of the new variable node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The typeDefinitionId is equals Null or parentNodeId or referenceTypeId is equals Null or name is equals Null. |
| Argument | The typeDefinitionId, name, nodeId, parentNodeId or referenceTypeId is a null reference ( |
Properties
AccessLevel
Gets or sets a value which indicates in which ways the Value attribute of the variable node can be accessed (read/write) and if it provides current and/or historic data.
public OpcAccessLevel? AccessLevel { get; set; }Public Property AccessLevel As OpcAccessLevel?Property value
One of the members defined by the OpcAccessLevel enumeration if specified; otherwise a null reference (Nothing in Visual Basic). In case of a null reference (Nothing in Visual Basic) the server defined default value of the attribute is used.
ArrayDimensions
Gets the number/lengths of dimensions for an array Value with one or more fixed dimensions.
public OpcArrayDimensions ArrayDimensions { get; set; }Public Property ArrayDimensions As OpcArrayDimensionsProperty value
An instance of the OpcArrayDimensions class which offers the number/lengths of dimensions for an array Value.
Remarks
If the ValueRank does not identify an array of a specific dimension (i.e. ValueRank <= 0) ArrayDimensions can be a null reference (Nothing in Visual Basic). In case of a null reference (Nothing in Visual Basic) the server defined default value of the attribute is used.
DataType
Gets or sets a value which defines a pre-defined used DataTypeId as one of the members defined by the OpcDataType enumeration to simplify querying standard data types. A null reference (Nothing in Visual Basic) indicates that the attribute is undefined and its default value is used.
public virtual OpcDataType? DataType { get; set; }Public Overridable Property DataType As OpcDataType?Property value
One of the members defined by the OpcDataType enumeration.
DataTypeId
Gets or stets the identifier which identifies the node that defines the type of data represented by the variable node. A null reference (Nothing in Visual Basic) indicates that the attribute is undefined and its default value is used.
public OpcNodeId DataTypeId { get; set; }Public Property DataTypeId As OpcNodeIdProperty value
The OpcNodeId of the data type node which defines the type of data represented by the variable node. These data type node defines either a simple or a complex type of data accessible by the Value property.
IsHistorizing
Gets or sets a value indicating whether the server is actively collecting data for the history of the variable.
public bool? IsHistorizing { get; set; }Public Property IsHistorizing As Boolean?Property value
The value true if the server is actively collecting data; otherwise the value false (the default value) or a null reference (Nothing in Visual Basic). In case of a null reference (Nothing in Visual Basic) the server defined default value of the attribute is used.
Type
Gets value indicating the predefined underlying type definition the new node will represent an instance of.
public OpcVariableType Type { get; }Public ReadOnly Property Type As OpcVariableTypeProperty value
One of the members defined by the OpcVariableType enumeration or -1 in case of a custom type definition is used (see TypeDefinitionId).
UserAccessLevel
Gets or sets a value which indicates in which ways the Value attribute of the variable node can be accessed (read/write) and if it provides current and/or historic data taking user access rights into account.
public OpcAccessLevel? UserAccessLevel { get; set; }Public Property UserAccessLevel As OpcAccessLevel?Property value
One of the members defined by the OpcAccessLevel enumeration if specified; otherwise a null reference (Nothing in Visual Basic). In case of a null reference (Nothing in Visual Basic) the server defined default value of the attribute is used.
Value
Gets or sets the value of the variable node which may be simple or complex. A null reference (Nothing in Visual Basic) indicates that the attribute is undefined and its default value is used.
public object Value { get; set; }Public Property Value As ObjectProperty value
A object representing the value of the variable node.
ValueRank
Gets or sets a value which indicates whether the value attribute of the variable is an array and how many dimensions the array has.
public int? ValueRank { get; set; }Public Property ValueRank As Integer?Property value
One of the values defined by the ValueRanks class or a null reference (Nothing in Visual Basic). In case of a null reference (Nothing in Visual Basic) the server defined default value of the attribute is used.
Methods
OfType
Retrieves an instance which represents the definition of a variable type that can be used to define OpcAddVariableNode command instances using the type of variable node represented by the OpcAddVariableNode.TypeDefinition instance provided.
public static OpcAddVariableNode.TypeDefinition OfType(
OpcNodeId typeDefinitionId)Public Shared Function OfType(
typeDefinitionId As OpcNodeId) As OpcAddVariableNode.TypeDefinitionParameters
| Name | Type | Description |
|---|---|---|
typeDefinitionId | OpcNodeId | The OpcNodeId of the type definition to provide. |
Returns
OpcAddVariableNode.TypeDefinition
A new instance of the OpcAddVariableNode.TypeDefinition class which can be used to define typed OpcAddVariableNode command instances.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The typeDefinitionId is equals Null. |
| Argument | The typeDefinitionId is a null reference ( |

