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
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
| Name | Type | Description |
|---|---|---|
category | OpcNodeCategory | The OpcNodeCategory which classifies the new node to add regarding one of the classifications defined by the OpcNodeCategory enumeration. |
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 name, nodeId or superTypeId is a null reference ( |
Properties
IsAbstract
csharp
public abstract bool IsAbstract { get; set; }vbnet
Public MustOverride Property IsAbstract As BooleanProperty value
SuperTypeId
csharp
public OpcNodeId SuperTypeId { get; }vbnet
Public ReadOnly Property SuperTypeId As OpcNodeIdProperty value

