Skip to content

Reference

OpcAddObjectNode.TypeDefinition Members

Refers to a type definition which can be used to define typed OpcAddObjectNode command instances.

Reference

OpcAddObjectNode.TypeDefinition Members ​

Type
OpcAddObjectNode.TypeDefinition
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Properties ​

TypeDefinitionId ​

Gets the identifier which identifies the node that defines the node definition represented by this instance.

csharp
public OpcNodeId TypeDefinitionId { get; }
vbnet
Public ReadOnly Property TypeDefinitionId As OpcNodeId

Property value

OpcNodeId

The OpcNodeId of the type node from that additional nodes can be created from.

Methods ​

Create ​

10 overloads

OverloadDescription
Create(OpcName)Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object node to add.
Create(OpcName, params OpcAddInstanceNode[])Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object node to add.
Create(OpcName, OpcNodeId)Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object node to add, which shall be additionally accessible by the nodeId defined.
Create(OpcName, OpcNodeId, params OpcAddInstanceNode[])Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object node to add, which shall be additionally accessible by the nodeId defined.
Create(OpcName, OpcNodeId, OpcNodeId)Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object node to add, which shall be additionally accessible by the nodeId defined.
Create(OpcName, OpcNodeId, OpcNodeId, params OpcAddInstanceNode[])Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object node to add, which shall be additionally accessible by the nodeId defined.
Create(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType)Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object node to add, which shall be additionally accessible by the nodeId defined.
Create(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, params OpcAddInstanceNode[])Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object node to add, which shall be additionally accessible by the nodeId defined.
Create(OpcName, OpcNodeId, OpcNodeId, OpcNodeId)Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object node to add, which shall be additionally accessible by the nodeId defined.
Create(OpcName, OpcNodeId, OpcNodeId, OpcNodeId, params OpcAddInstanceNode[])Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object node to add, which shall be additionally accessible by the nodeId defined.

Create(OpcName) ​

Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object 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 Organizes as the type of reference.

csharp
public OpcAddObjectNode Create(OpcName name)
vbnet
Public Function Create(name As OpcName) As OpcAddObjectNode

Parameters

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

Returns

OpcAddObjectNode

Exceptions

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

Create(OpcName, params OpcAddInstanceNode[]) ​

Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object 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 Organizes as the type of reference.

csharp
public OpcAddObjectNode Create(
    OpcName name,
    params OpcAddInstanceNode[] children)
vbnet
Public Function Create(
    name As OpcName,
    ParamArray children As OpcAddInstanceNode()) As OpcAddObjectNode

Parameters

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

Returns

OpcAddObjectNode

Exceptions

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

Create(OpcName, OpcNodeId) ​

Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the ObjectsFolder node using Organizes as the type of reference.

csharp
public OpcAddObjectNode Create(OpcName name, OpcNodeId nodeId)
vbnet
Public Function Create(name As OpcName, nodeId As OpcNodeId) As OpcAddObjectNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new object 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.

Returns

OpcAddObjectNode

Exceptions

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

Create(OpcName, OpcNodeId, params OpcAddInstanceNode[]) ​

Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object node to add, which shall be additionally accessible by the nodeId defined. The new node will be a child of the ObjectsFolder node using Organizes as the type of reference.

csharp
public OpcAddObjectNode Create(
    OpcName name,
    OpcNodeId nodeId,
    params OpcAddInstanceNode[] children)
vbnet
Public Function Create(
    name As OpcName,
    nodeId As OpcNodeId,
    ParamArray children As OpcAddInstanceNode()) As OpcAddObjectNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new object 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.

Returns

OpcAddObjectNode

Exceptions

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

Create(OpcName, OpcNodeId, OpcNodeId) ​

Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object 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 Organizes as the type of reference.

csharp
public OpcAddObjectNode Create(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId)
vbnet
Public Function Create(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId) As OpcAddObjectNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new object 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.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using Organizes as the type of reference.

Returns

OpcAddObjectNode

Exceptions

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

Create(OpcName, OpcNodeId, OpcNodeId, params OpcAddInstanceNode[]) ​

Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object 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 Organizes as the type of reference.

csharp
public OpcAddObjectNode Create(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    params OpcAddInstanceNode[] children)
vbnet
Public Function Create(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    ParamArray children As OpcAddInstanceNode()) As OpcAddObjectNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new object 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.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using Organizes as the type of reference.
childrenparams OpcAddInstanceNode[]The initial child nodes of the node to add.

Returns

OpcAddObjectNode

Exceptions

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

Create(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType) ​

Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object 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.

csharp
public OpcAddObjectNode Create(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcReferenceType referenceType)
vbnet
Public Function Create(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceType As OpcReferenceType) As OpcAddObjectNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new object 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.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using Organizes as the type of reference.
referenceTypeOpcReferenceTypeOne 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.

Returns

OpcAddObjectNode

Exceptions

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

Create(OpcName, OpcNodeId, OpcNodeId, OpcReferenceType, params OpcAddInstanceNode[]) ​

Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object 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.

csharp
public OpcAddObjectNode Create(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcReferenceType referenceType,
    params OpcAddInstanceNode[] children)
vbnet
Public Function Create(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceType As OpcReferenceType,
    ParamArray children As OpcAddInstanceNode()) As OpcAddObjectNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new object 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.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using Organizes as the type of reference.
referenceTypeOpcReferenceTypeOne 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.
childrenparams OpcAddInstanceNode[]The initial child nodes of the node to add.

Returns

OpcAddObjectNode

Exceptions

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

Create(OpcName, OpcNodeId, OpcNodeId, OpcNodeId) ​

Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object 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.

csharp
public OpcAddObjectNode Create(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcNodeId referenceTypeId)
vbnet
Public Function Create(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceTypeId As OpcNodeId) As OpcAddObjectNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new object 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.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId.
referenceTypeIdOpcNodeIdThe OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId.

Returns

OpcAddObjectNode

Exceptions

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

Create(OpcName, OpcNodeId, OpcNodeId, OpcNodeId, params OpcAddInstanceNode[]) ​

Provides a new instance of the OpcAddObjectNode class using the name of the OpcAddObjectNode.TypeDefinition specific object 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.

csharp
public OpcAddObjectNode Create(
    OpcName name,
    OpcNodeId nodeId,
    OpcNodeId parentNodeId,
    OpcNodeId referenceTypeId,
    params OpcAddInstanceNode[] children)
vbnet
Public Function Create(
    name As OpcName,
    nodeId As OpcNodeId,
    parentNodeId As OpcNodeId,
    referenceTypeId As OpcNodeId,
    ParamArray children As OpcAddInstanceNode()) As OpcAddObjectNode

Parameters

NameTypeDescription
nameOpcNameThe OpcName through that the new object 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.
parentNodeIdOpcNodeIdThe OpcNodeId of the parent node to reference using the type of reference identified by referenceTypeId.
referenceTypeIdOpcNodeIdThe OpcNodeId which identifies the type of reference to use for the new node and the existing parent node identified by parentNodeId.
childrenparams OpcAddInstanceNode[]The initial child nodes of the node to add.

Returns

OpcAddObjectNode

Exceptions

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