Skip to content

Reference

OpcAddTypeNode Members

Defines an abstract base class for a single command of the IOpcAddNodesService used to add one type node.

Reference

OpcAddTypeNode Members ​

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

Inherits members from OpcAddNode, OpcNodeServiceCommand, OpcServiceCommand.

Constructors ​

OpcAddTypeNode ​

protected

Initializes a new instance of the OpcAddTypeNode class using the category and superTypeId of the node type to inherit from by the 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 superTypeId using HasSubtype as the type of reference.

csharp
protected OpcAddTypeNode(
    OpcNodeCategory category,
    OpcNodeId superTypeId,
    OpcName name,
    OpcNodeId nodeId)
vbnet
Protected Sub New(
    category As OpcNodeCategory,
    superTypeId As OpcNodeId,
    name As OpcName,
    nodeId As OpcNodeId)

Parameters

NameTypeDescription
categoryOpcNodeCategoryThe OpcNodeCategory which classifies the new node to add regarding one of the classifications defined by the OpcNodeCategory enumeration.
superTypeIdOpcNodeIdThe OpcNodeId of the super type node to reference using HasSubtype as the type of reference.
nameOpcNameThe OpcName through that the new variable 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 name, nodeId or superTypeId is a null reference (Nothing in Visual Basic).

Properties ​

IsAbstract ​

abstract

csharp
public abstract bool IsAbstract { get; set; }
vbnet
Public MustOverride Property IsAbstract As Boolean

Property value

Boolean

SuperTypeId ​

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

Property value

OpcNodeId