Reference
OpcAddDataVariableNode Members
Defines a single command of the IOpcAddNodesService used to add one data variable node.
Reference
OpcAddDataVariableNode<T> Members
- Type
- OpcAddDataVariableNode<T>
- 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
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcname of the data variable node to add. |
| Opc | Initializes a new instance of the Opcname of the data variable node to add. |
| Opc | Initializes a new instance of the Opcname of the data variable node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the data variable node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the data variable node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the data variable node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the data variable node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the data variable node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the data variable node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the data variable node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the Opctype of data variable node to add, which shall be accessible by the name defined. |
| Opc | Initializes a new instance of the Opctype of data variable node to add, which shall be accessible by the name defined. |
| Opc | Initializes a new instance of the Opctype of data variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opctype of data variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opctype of data variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opctype of data variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opctype of data variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opctype of data variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opctype of data variable node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opctype 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<T> 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.
public OpcAddDataVariableNode(OpcName name)Public Sub New(name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new data variable node can be accessed. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name is a null reference ( |
OpcAddDataVariableNode(OpcName, T)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
public OpcAddDataVariableNode(OpcName name, T value)Public Sub New(name As OpcName, value As T)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new data variable node can be accessed. |
value | T | The initial value of the new data variable node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name is a null reference ( |
OpcAddDataVariableNode(OpcName, OpcNodeId)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
public OpcAddDataVariableNode(OpcName name, OpcNodeId nodeId)Public Sub New(name As OpcName, nodeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new data 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 ( |
OpcAddDataVariableNode(OpcName, OpcNodeId, T)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
public OpcAddDataVariableNode(OpcName name, OpcNodeId nodeId, T value)Public Sub New(name As OpcName, nodeId As OpcNodeId, value As T)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new data 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 | T | The initial value of the new data variable node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name or nodeId is a null reference ( |
OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
public OpcAddDataVariableNode(
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId)Public Sub New(name As OpcName, nodeId As OpcNodeId, parentNodeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new data 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 ( |
OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId, T)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
public OpcAddDataVariableNode(
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
T value)Public Sub New(
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
value As T)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new data 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 | T | The initial value of the new data 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 ( |
OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
public OpcAddDataVariableNode(
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
OpcReferenceType referenceType)Public Sub New(
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
referenceType As OpcReferenceType)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new data 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 ( |
OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, T)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
public OpcAddDataVariableNode(
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
OpcReferenceType referenceType,
T value)Public Sub New(
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
referenceType As OpcReferenceType,
value As T)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new data 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 | T | The initial value of the new data 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 ( |
OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId, OpcNodeId)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
public OpcAddDataVariableNode(
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
OpcNodeId referenceTypeId)Public Sub New(
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
referenceTypeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new data 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 ( |
OpcAddDataVariableNode(OpcName, OpcNodeId, OpcNodeId, OpcNodeId, T)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
public OpcAddDataVariableNode(
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
OpcNodeId referenceTypeId,
T value)Public Sub New(
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
referenceTypeId As OpcNodeId,
value As T)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new data 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 | T | The initial value of the new data 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 ( |
OpcAddDataVariableNode(OpcVariableType, OpcName)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
protected OpcAddDataVariableNode(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 data variable node can be accessed. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name is a null reference ( |
OpcAddDataVariableNode(OpcVariableType, OpcName, T)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
protected OpcAddDataVariableNode(OpcVariableType type, OpcName name, T value)Protected Sub New(type As OpcVariableType, name As OpcName, value As T)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 data variable node can be accessed. |
value | T | The initial value of the new data variable node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name is a null reference ( |
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
protected OpcAddDataVariableNode(
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 data 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 ( |
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, T)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
protected OpcAddDataVariableNode(
OpcVariableType type,
OpcName name,
OpcNodeId nodeId,
T value)Protected Sub New(
type As OpcVariableType,
name As OpcName,
nodeId As OpcNodeId,
value As T)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 data 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 | T | The initial value of the new data variable node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name or nodeId is a null reference ( |
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
protected OpcAddDataVariableNode(
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 data 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 ( |
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, T)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
protected OpcAddDataVariableNode(
OpcVariableType type,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
T value)Protected Sub New(
type As OpcVariableType,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
value As T)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 data 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 | T | The initial value of the new data 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 ( |
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
protected OpcAddDataVariableNode(
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 data 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 ( |
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, T)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
protected OpcAddDataVariableNode(
OpcVariableType type,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
OpcReferenceType referenceType,
T value)Protected Sub New(
type As OpcVariableType,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
referenceType As OpcReferenceType,
value As T)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 data 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 | T | The initial value of the new data 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 ( |
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcNodeId)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
protected OpcAddDataVariableNode(
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 data 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 ( |
OpcAddDataVariableNode(OpcVariableType, OpcName, OpcNodeId, OpcNodeId, OpcNodeId, T)
Initializes a new instance of the OpcAddDataVariableNode<T> 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.
protected OpcAddDataVariableNode(
OpcVariableType type,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId,
OpcNodeId referenceTypeId,
T value)Protected Sub New(
type As OpcVariableType,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId As OpcNodeId,
referenceTypeId As OpcNodeId,
value As T)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 data 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 | T | The initial value of the new data 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 ( |
Properties
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 override OpcDataType? DataType { get; set; }Public Overrides Property DataType As OpcDataType?Property value
One of the members defined by the OpcDataType enumeration.
Overrides
Value
Gets or sets the value of the data variable node. A null reference (Nothing in Visual Basic) indicates that the attribute is undefined and its default value is used.
public T Value { get; set; }Public Property Value As TProperty value
T
A T representing the value of the data variable node. This can be also a null reference (Nothing in Visual Basic).

