Reference
OpcAddObjectTypeNode Members
Defines a single command of the IOpcAddNodesService used to add one object type node (nodes of the category ObjectType).
Reference
OpcAddObjectTypeNode Members
- Type
- OpcAddObjectTypeNode
- 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
OpcAddObjectTypeNode
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcname of the object type node to add. |
| Opc | Initializes a new instance of the Opcname of the object type node to add. |
| Opc | Initializes a new instance of the Opcname of the object type node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the object 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 object 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 object type node to add, which shall be accessible by the name and nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the object type node to add, which shall be additionally accessible by the nodeId defined. |
| Opc | Initializes a new instance of the Opcname of the object type node to add, which shall be additionally accessible by the nodeId defined. |
OpcAddObjectTypeNode(OpcName)
Initializes a new instance of the OpcAddObjectTypeNode class using the name of the object 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 BaseObjectType node using HasSubtype as the type of reference.
public OpcAddObjectTypeNode(OpcName name)Public Sub New(name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new object type node can be accessed. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name is a null reference ( |
OpcAddObjectTypeNode(OpcName, params OpcAddInstanceNode[])
Initializes a new instance of the OpcAddObjectTypeNode class using the name of the object 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 BaseObjectType node using HasSubtype as the type of reference.
public OpcAddObjectTypeNode(OpcName name, params OpcAddInstanceNode[] children)Public Sub New(name As OpcName, ParamArray children As OpcAddInstanceNode())Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new object 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 ( |
OpcAddObjectTypeNode(OpcName, OpcNodeId)
Initializes a new instance of the OpcAddObjectTypeNode class using the name of the object type node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the BaseObjectType node using HasSubtype as the type of reference.
public OpcAddObjectTypeNode(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 object 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 ( |
OpcAddObjectTypeNode(OpcName, OpcNodeId, params OpcAddInstanceNode[])
Initializes a new instance of the OpcAddObjectTypeNode class using the name of the object type node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the BaseObjectType node using HasSubtype as the type of reference.
public OpcAddObjectTypeNode(
OpcName name,
OpcNodeId nodeId,
params OpcAddInstanceNode[] children)Public Sub New(
name As OpcName,
nodeId As OpcNodeId,
ParamArray children As OpcAddInstanceNode())Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new object 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 ( |
OpcAddObjectTypeNode(OpcObjectType, OpcName, OpcNodeId)
Initializes a new instance of the OpcAddObjectTypeNode class using the specified superType to inherit from by the object 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 OpcAddObjectTypeNode(
OpcObjectType superType,
OpcName name,
OpcNodeId nodeId)Public Sub New(superType As OpcObjectType, name As OpcName, nodeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
superType | OpcObjectType | One of the members defined by the OpcObjectType 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 object 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 ( |
OpcAddObjectTypeNode(OpcObjectType, OpcName, OpcNodeId, params OpcAddInstanceNode[])
Initializes a new instance of the OpcAddObjectTypeNode class using the specified superType to inherit from by the object 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 OpcAddObjectTypeNode(
OpcObjectType superType,
OpcName name,
OpcNodeId nodeId,
params OpcAddInstanceNode[] children)Public Sub New(
superType As OpcObjectType,
name As OpcName,
nodeId As OpcNodeId,
ParamArray children As OpcAddInstanceNode())Parameters
| Name | Type | Description |
|---|---|---|
superType | OpcObjectType | One of the members defined by the OpcObjectType 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 object 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 ( |
OpcAddObjectTypeNode(OpcNodeId, OpcName, OpcNodeId)
Initializes a new instance of the OpcAddObjectTypeNode class using the name of the object 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 OpcAddObjectTypeNode(
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 object 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 ( |
OpcAddObjectTypeNode(OpcNodeId, OpcName, OpcNodeId, params OpcAddInstanceNode[])
Initializes a new instance of the OpcAddObjectTypeNode class using the name of the object 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 OpcAddObjectTypeNode(
OpcNodeId superTypeId,
OpcName name,
OpcNodeId nodeId,
params OpcAddInstanceNode[] children)Public Sub New(
superTypeId As OpcNodeId,
name As OpcName,
nodeId As OpcNodeId,
ParamArray children As OpcAddInstanceNode())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 object 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 ( |
Properties
Children
Gets a collection of OpcAddInstanceNode 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 OpcAddInstanceNode instances to process after the node defined by this OpcAddObjectTypeNode has been added.
IsAbstract
Gets or sets a value indicating whether the object 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 object 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 OpcObjectType SuperType { get; }Public ReadOnly Property SuperType As OpcObjectTypeProperty value
One of the members defined by the OpcObjectType enumeration or -1 in case of a custom type definition is used (see SuperTypeId).

