Reference
OpcAddVariableTypeNode Members
Defines a single command of the IOpcAddNodesService used to add one variable type node (nodes of the category VariableType).
Reference
OpcAddVariableTypeNode Members
- Type
- OpcAddVariableTypeNode
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Inherits members from OpcAddTypeNode, OpcAddNode, OpcNodeServiceCommand, OpcServiceCommand.
Constructors
OpcAddVariableTypeNode
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcname of the variable type node to add. |
| Opc | Initializes a new instance of the Opcname of the variable type node to add. |
| Opc | Initializes a new instance of the Opcname of the variable type node to add. |
| Opc | Initializes a new instance of the Opcname of the variable type node to add. |
| Opc | Initializes a new instance of the Opcname of the variable type node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the variable type node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the variable type node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the variable type node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the OpcsuperType to inherit from by the variable type node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the OpcsuperType to inherit from by the variable type node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the variable type node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the variable type node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the OpcsuperType to inherit from by the variable type node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the OpcsuperType to inherit from by the variable type node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the variable type node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the variable type node to add, which shall be additionally accessible by the nodeId defined. |
OpcAddVariableTypeNode(OpcName)
Initializes a new instance of the OpcAddVariableTypeNode class using the name of the variable type 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 BaseVariableType node using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(OpcName name)Public Sub New(name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new variable type node can be accessed. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name is a null reference ( |
OpcAddVariableTypeNode(OpcName, params OpcAddVariableNode[])
Initializes a new instance of the OpcAddVariableTypeNode class using the name of the variable type 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 BaseVariableType node using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(
OpcName name,
params OpcAddVariableNode[] children)Public Sub New(name As OpcName, ParamArray children As OpcAddVariableNode())Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new variable type node can be accessed. |
children | params Opc | The initial child nodes of the node to add. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name is a null reference ( |
OpcAddVariableTypeNode(OpcName, object)
Initializes a new instance of the OpcAddVariableTypeNode class using the name of the variable type 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 BaseVariableType node using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(OpcName name, object value)Public Sub New(name As OpcName, value As Object)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new variable type node can be accessed. |
value | Object | The initial value of new variable node instances created from the type of variable node to add. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name is a null reference ( |
OpcAddVariableTypeNode(OpcName, object, params OpcAddVariableNode[])
Initializes a new instance of the OpcAddVariableTypeNode class using the name of the variable type 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 BaseVariableType node using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(
OpcName name,
object value,
params OpcAddVariableNode[] children)Public Sub New(
name As OpcName,
value As Object,
ParamArray children As OpcAddVariableNode())Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new variable type node can be accessed. |
value | Object | The initial value of new variable node instances created from the type of variable node to add. |
children | params Opc | The initial child nodes of the node to add. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name is a null reference ( |
OpcAddVariableTypeNode(OpcName, OpcNodeId)
Initializes a new instance of the OpcAddVariableTypeNode class using the name of the variable type node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the BaseVariableType node using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(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 variable type 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 ( |
OpcAddVariableTypeNode(OpcName, OpcNodeId, params OpcAddVariableNode[])
Initializes a new instance of the OpcAddVariableTypeNode class using the name of the variable type node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the BaseVariableType node using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(
OpcName name,
OpcNodeId nodeId,
params OpcAddVariableNode[] children)Public Sub New(
name As OpcName,
nodeId As OpcNodeId,
ParamArray children As OpcAddVariableNode())Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new variable type 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. |
children | params Opc | The initial child nodes of the node to add. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name or nodeId is a null reference ( |
OpcAddVariableTypeNode(OpcName, OpcNodeId, object)
Initializes a new instance of the OpcAddVariableTypeNode class using the name of the variable type node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the BaseVariableType node using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(OpcName name, OpcNodeId nodeId, object value)Public Sub New(name As OpcName, nodeId As OpcNodeId, value As Object)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new variable type 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 new variable node instances created from the type of variable node to add. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name or nodeId is a null reference ( |
OpcAddVariableTypeNode(OpcName, OpcNodeId, object, params OpcAddVariableNode[])
Initializes a new instance of the OpcAddVariableTypeNode class using the name of the variable type node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the BaseVariableType node using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(
OpcName name,
OpcNodeId nodeId,
object value,
params OpcAddVariableNode[] children)Public Sub New(
name As OpcName,
nodeId As OpcNodeId,
value As Object,
ParamArray children As OpcAddVariableNode())Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new variable type 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 new variable node instances created from the type of variable node to add. |
children | params Opc | The initial child nodes of the node to add. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name is equals Null. |
| Argument | The name or nodeId is a null reference ( |
OpcAddVariableTypeNode(OpcVariableType, OpcName, OpcNodeId)
Initializes a new instance of the OpcAddVariableTypeNode class using the specified superType to inherit from by the variable type 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 the superType using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(
OpcVariableType superType,
OpcName name,
OpcNodeId nodeId)Public Sub New(
superType As OpcVariableType,
name As OpcName,
nodeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
superType | OpcVariableType | One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying super type node the new node will represent a subtype of. The super type node is referenced using HasSubtype as the type of reference. |
name | OpcName | The OpcName through that the new variable type 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, nodeId is a null reference ( |
OpcAddVariableTypeNode(OpcVariableType, OpcName, OpcNodeId, params OpcAddVariableNode[])
Initializes a new instance of the OpcAddVariableTypeNode class using the specified superType to inherit from by the variable type 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 the superType using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(
OpcVariableType superType,
OpcName name,
OpcNodeId nodeId,
params OpcAddVariableNode[] children)Public Sub New(
superType As OpcVariableType,
name As OpcName,
nodeId As OpcNodeId,
ParamArray children As OpcAddVariableNode())Parameters
| Name | Type | Description |
|---|---|---|
superType | OpcVariableType | One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying super type node the new node will represent a subtype of. The super type node is referenced using HasSubtype as the type of reference. |
name | OpcName | The OpcName through that the new variable type 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. |
children | params Opc | The initial child nodes of the node to add. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name, nodeId is a null reference ( |
OpcAddVariableTypeNode(OpcNodeId, OpcName, OpcNodeId)
Initializes a new instance of the OpcAddVariableTypeNode class using the name of the variable type node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by superTypeId using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(
OpcNodeId superTypeId,
OpcName name,
OpcNodeId nodeId)Public Sub New(superTypeId As OpcNodeId, name As OpcName, nodeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
superTypeId | OpcNodeId | The OpcNodeId of the super type node to reference using HasSubtype as the type of reference. |
name | OpcName | The OpcName through that the new variable type 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 superTypeId is equals Null or name is equals Null. |
| Argument | The superTypeId, name or nodeId is a null reference ( |
OpcAddVariableTypeNode(OpcNodeId, OpcName, OpcNodeId, params OpcAddVariableNode[])
Initializes a new instance of the OpcAddVariableTypeNode class using the name of the variable type node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by superTypeId using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(
OpcNodeId superTypeId,
OpcName name,
OpcNodeId nodeId,
params OpcAddVariableNode[] children)Public Sub New(
superTypeId As OpcNodeId,
name As OpcName,
nodeId As OpcNodeId,
ParamArray children As OpcAddVariableNode())Parameters
| Name | Type | Description |
|---|---|---|
superTypeId | OpcNodeId | The OpcNodeId of the super type node to reference using HasSubtype as the type of reference. |
name | OpcName | The OpcName through that the new variable type 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. |
children | params Opc | The initial child nodes of the node to add. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The superTypeId is equals Null or name is equals Null. |
| Argument | The superTypeId, name or nodeId is a null reference ( |
OpcAddVariableTypeNode(OpcVariableType, OpcName, OpcNodeId, object)
Initializes a new instance of the OpcAddVariableTypeNode class using the specified superType to inherit from by the variable type 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 the superType using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(
OpcVariableType superType,
OpcName name,
OpcNodeId nodeId,
object value)Public Sub New(
superType As OpcVariableType,
name As OpcName,
nodeId As OpcNodeId,
value As Object)Parameters
| Name | Type | Description |
|---|---|---|
superType | OpcVariableType | One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying super type node the new node will represent a subtype of. The super type node is referenced using HasSubtype as the type of reference. |
name | OpcName | The OpcName through that the new variable type 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 new variable node instances created from the type of variable node to add. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name or nodeId is a null reference ( |
OpcAddVariableTypeNode(OpcVariableType, OpcName, OpcNodeId, object, params OpcAddVariableNode[])
Initializes a new instance of the OpcAddVariableTypeNode class using the specified superType to inherit from by the variable type 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 the superType using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(
OpcVariableType superType,
OpcName name,
OpcNodeId nodeId,
object value,
params OpcAddVariableNode[] children)Public Sub New(
superType As OpcVariableType,
name As OpcName,
nodeId As OpcNodeId,
value As Object,
ParamArray children As OpcAddVariableNode())Parameters
| Name | Type | Description |
|---|---|---|
superType | OpcVariableType | One of the members defined by the OpcVariableType enumeration which identifies the predefined underlying super type node the new node will represent a subtype of. The super type node is referenced using HasSubtype as the type of reference. |
name | OpcName | The OpcName through that the new variable type 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 new variable node instances created from the type of variable node to add. |
children | params Opc | The initial child nodes of the node to add. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name or nodeId is a null reference ( |
OpcAddVariableTypeNode(OpcNodeId, OpcName, OpcNodeId, object)
Initializes a new instance of the OpcAddVariableTypeNode class using the name of the variable type node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by superTypeId using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(
OpcNodeId superTypeId,
OpcName name,
OpcNodeId nodeId,
object value)Public Sub New(
superTypeId As OpcNodeId,
name As OpcName,
nodeId As OpcNodeId,
value As Object)Parameters
| Name | Type | Description |
|---|---|---|
superTypeId | OpcNodeId | The OpcNodeId of the super type node to reference using HasSubtype as the type of reference. |
name | OpcName | The OpcName through that the new variable type 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 new variable node instances created from the type of variable node to add. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The superTypeId is equals Null or name is equals Null. |
| Argument | The superTypeId, name or nodeId is a null reference ( |
OpcAddVariableTypeNode(OpcNodeId, OpcName, OpcNodeId, object, params OpcAddVariableNode[])
Initializes a new instance of the OpcAddVariableTypeNode class using the name of the variable type node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the node identified by superTypeId using HasSubtype as the type of reference.
public OpcAddVariableTypeNode(
OpcNodeId superTypeId,
OpcName name,
OpcNodeId nodeId,
object value,
params OpcAddVariableNode[] children)Public Sub New(
superTypeId As OpcNodeId,
name As OpcName,
nodeId As OpcNodeId,
value As Object,
ParamArray children As OpcAddVariableNode())Parameters
| Name | Type | Description |
|---|---|---|
superTypeId | OpcNodeId | The OpcNodeId of the super type node to reference using HasSubtype as the type of reference. |
name | OpcName | The OpcName through that the new variable type 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 new variable node instances created from the type of variable node to add. |
children | params Opc | The initial child nodes of the node to add. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The superTypeId is equals Null or name is equals Null. |
| Argument | The superTypeId, name or nodeId is a null reference ( |
Properties
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.
Children
Gets a collection of OpcAddVariableNode instances which define the sub-ordinated nodes to add as children to the node to add.
public OpcAddNodeCollection Children { get; }Public ReadOnly Property Children As OpcAddNodeCollectionProperty value
An instance of the OpcAddNodeCollection class with the OpcAddVariableNode instances to process after the node defined by this OpcAddVariableTypeNode has been added.
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 OpcDataType? DataType { get; set; }Public 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 type 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.
IsAbstract
Gets or sets a value indicating whether the variable type node to add is abstract and must be overridden.
public override bool IsAbstract { get; set; }Public Overrides Property IsAbstract As BooleanProperty value
The value true if the variable type node to add is abstract; otherwise the value false (the default value).
Overrides
SuperType
Gets a value indicating the predefined underlying super type the new node will represent a subtype of.
public OpcVariableType SuperType { get; }Public ReadOnly Property SuperType As OpcVariableTypeProperty value
One of the members defined by the OpcVariableType enumeration or -1 in case of a custom type definition is used (see SuperTypeId).
Value
Gets or sets the value of the variable type 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 type 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.

