Skip to content

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 ​

8 overloads

OverloadDescription
OpcAddObjectTypeNode(OpcName)Initializes a new instance of the OpcAddObjectTypeNode class using the name of the object type node to add.
OpcAddObjectTypeNode(OpcName, params OpcAddInstanceNode[])Initializes a new instance of the OpcAddObjectTypeNode class using the name of the object type node to add.
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.
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.
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.
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.
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.
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.

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.

csharp
public OpcAddObjectTypeNode(OpcName name)
vbnet
Public Sub New(name As OpcName)

Parameters

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

Exceptions

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

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.

csharp
public OpcAddObjectTypeNode(OpcName name, params OpcAddInstanceNode[] children)
vbnet
Public Sub New(name As OpcName, ParamArray children As OpcAddInstanceNode())

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new object type node can be accessed.
childrenparams OpcAddInstanceNode[]The initial child nodes of the node to add.

Exceptions

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

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.

csharp
public OpcAddObjectTypeNode(OpcName name, OpcNodeId nodeId)
vbnet
Public Sub New(name As OpcName, nodeId As OpcNodeId)

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new object type node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

Exceptions

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

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.

csharp
public OpcAddObjectTypeNode(
    OpcName name,
    OpcNodeId nodeId,
    params OpcAddInstanceNode[] children)
vbnet
Public Sub New(
    name As OpcName,
    nodeId As OpcNodeId,
    ParamArray children As OpcAddInstanceNode())

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new object type node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
childrenparams OpcAddInstanceNode[]The initial child nodes of the node to add.

Exceptions

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

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.

csharp
public OpcAddObjectTypeNode(
    OpcObjectType superType,
    OpcName name,
    OpcNodeId nodeId)
vbnet
Public Sub New(superType As OpcObjectType, name As OpcName, nodeId As OpcNodeId)

Parameters

NameTypeDescription
superTypeOpcObjectTypeOne 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.
nameOpcNameThe OpcName through that the new object type node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

Exceptions

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

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.

csharp
public OpcAddObjectTypeNode(
    OpcObjectType superType,
    OpcName name,
    OpcNodeId nodeId,
    params OpcAddInstanceNode[] children)
vbnet
Public Sub New(
    superType As OpcObjectType,
    name As OpcName,
    nodeId As OpcNodeId,
    ParamArray children As OpcAddInstanceNode())

Parameters

NameTypeDescription
superTypeOpcObjectTypeOne 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.
nameOpcNameThe OpcName through that the new object type node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
childrenparams OpcAddInstanceNode[]The initial child nodes of the node to add.

Exceptions

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

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.

csharp
public OpcAddObjectTypeNode(
    OpcNodeId superTypeId,
    OpcName name,
    OpcNodeId nodeId)
vbnet
Public Sub New(superTypeId As OpcNodeId, name As OpcName, nodeId As OpcNodeId)

Parameters

NameTypeDescription
superTypeIdOpcNodeIdThe OpcNodeId of the super type node to reference using HasSubtype as the type of reference.
nameOpcNameThe OpcName through that the new object type node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.

Exceptions

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

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.

csharp
public OpcAddObjectTypeNode(
    OpcNodeId superTypeId,
    OpcName name,
    OpcNodeId nodeId,
    params OpcAddInstanceNode[] children)
vbnet
Public Sub New(
    superTypeId As OpcNodeId,
    name As OpcName,
    nodeId As OpcNodeId,
    ParamArray children As OpcAddInstanceNode())

Parameters

NameTypeDescription
superTypeIdOpcNodeIdThe OpcNodeId of the super type node to reference using HasSubtype as the type of reference.
nameOpcNameThe OpcName through that the new object type node can be accessed.
nodeIdOpcNodeIdThe OpcNodeId through that the new node can be identified and accessed. In case there Null is specified the server will determine the according OpcNodeId by its own.
childrenparams OpcAddInstanceNode[]The initial child nodes of the node to add.

Exceptions

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

Properties ​

Children ​

Gets a collection of OpcAddInstanceNode instances which define the sub-ordinated nodes to add as children to the node to add.

csharp
public OpcAddNodeCollection Children { get; }
vbnet
Public ReadOnly Property Children As OpcAddNodeCollection

Property value

OpcAddNodeCollection

An instance of the OpcAddNodeCollection class with the OpcAddInstanceNode instances to process after the node defined by this OpcAddObjectTypeNode has been added.

IsAbstract ​

override

Gets or sets a value indicating whether the object type node to add is abstract and must be overridden.

csharp
public override bool IsAbstract { get; set; }
vbnet
Public Overrides Property IsAbstract As Boolean

Property value

Boolean

The value true if the object type node to add is abstract; otherwise the value false (the default value).

Overrides

IsAbstract

SuperType ​

Gets a value indicating the predefined underlying super type the new node will represent a subtype of.

csharp
public OpcObjectType SuperType { get; }
vbnet
Public ReadOnly Property SuperType As OpcObjectType

Property value

OpcObjectType

One of the members defined by the OpcObjectType enumeration or -1 in case of a custom type definition is used (see SuperTypeId).