Reference
OpcAddNode Members
Defines an abstract base class for a single command of the IOpcAddNodesService used to add one node.
Reference
OpcAddNode Members
- Type
- OpcAddNode
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Inherits members from OpcNodeServiceCommand, OpcServiceCommand.
Constructors
OpcAddNode
| Overload | Description |
|---|---|
| OpcAddNode( | Initializes a new instance of the OpcAddNode class using the specified category of node to add, which shall be accessible by the name defined. |
| OpcAddNode( | Initializes a new instance of the OpcAddNode class using the specified category of node to add, which shall be accessible by the name and nodeId defined. |
| OpcAddNode( | Initializes a new instance of the OpcAddNode class using the specified category of node to add, which shall be accessible by the name and nodeId defined. |
OpcAddNode(OpcNodeCategory, OpcName)
Initializes a new instance of the OpcAddNode class using the specified category of node to add, which shall be accessible by the name defined. The according OpcNodeId to identify and access the new node is determined by the service.
protected OpcAddNode(OpcNodeCategory category, OpcName name)Protected Sub New(category As OpcNodeCategory, name As OpcName)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. |
name | OpcName | The OpcName through that the new node can be accessed. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The name is equals Null. |
| Argument | The name is a null reference ( |
OpcAddNode(OpcNodeCategory, OpcName, OpcNodeId)
Initializes a new instance of the OpcAddNode class using the specified category of node to add, which shall be accessible by the name and nodeId defined. The new node will be a child of the ObjectsFolder node.
protected OpcAddNode(OpcNodeCategory category, OpcName name, OpcNodeId nodeId)Protected Sub New(
category As OpcNodeCategory,
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. |
name | OpcName | The OpcName through that the new 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 ( |
OpcAddNode(OpcNodeCategory, OpcName, OpcNodeId, OpcNodeId)
Initializes a new instance of the OpcAddNode class using the specified category of 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 parentNodeId.
protected OpcAddNode(
OpcNodeCategory category,
OpcName name,
OpcNodeId nodeId,
OpcNodeId parentNodeId)Protected Sub New(
category As OpcNodeCategory,
name As OpcName,
nodeId As OpcNodeId,
parentNodeId 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. |
name | OpcName | The OpcName through that the new 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. |
parentNodeId | OpcNodeId | The OpcNodeId of the parent node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The parentNodeId is equals Null or name is equals Null. |
| Argument | The name, nodeId or parentNodeId is a null reference ( |
Properties
Category
Gets a value indicating the classification of the node in the address space.
public OpcNodeCategory Category { get; }Public ReadOnly Property Category As OpcNodeCategoryProperty value
One of the members defined by the OpcNodeCategory enumeration which classifies the node within the address space.
Description
Gets or sets the localized description of the meaning of the node.
public OpcText Description { get; set; }Public Property Description As OpcTextProperty value
An instance of the OpcText class which provides the localized description of the node or a null reference (Nothing in Visual Basic). In case of a null reference (Nothing in Visual Basic) the server defined default value of the attribute is used.
DisplayName
Gets or sets the localized name of the node.
public OpcText DisplayName { get; set; }Public Property DisplayName As OpcTextProperty value
An instance of the OpcText class which provides the localized name of the node or a null reference (Nothing in Visual Basic). In case of a null reference (Nothing in Visual Basic) the server defined default value of the attribute is used.
Name
Gets the non-localised human-readable name of the node in the address space.
public OpcName Name { get; }Public ReadOnly Property Name As OpcNameProperty value
An instance of the OpcName class used to identify a node when browsing the address space.
ParentNodeId
Gets the identifier of the existing parent node of the new node.
public OpcNodeId ParentNodeId { get; }Public ReadOnly Property ParentNodeId As OpcNodeIdProperty value
An instance of the OpcNodeId which identifies an existing node to use as the parent node of the new node.
SupportsNullNodeId
Gets a value indicating whether the OpcAddNode supports instances of the OpcNodeId class its IsNull provides a value equals to the value true.
protected override bool SupportsNullNodeId { get; }Protected Overrides ReadOnly Property SupportsNullNodeId As BooleanProperty value
The value true in the case there the OpcNodeId instance of the command can be a null-node-id; otherwise the value false.
Overrides
Remarks
In case there this property provides the value false and an instance of the OpcNodeId is passed to the constructor of this class an ArgumentException will be thrown.
UserWriteAccess
Gets or sets a value which exposes the possibilities of a client to write the attributes of the node taking user access rights into account.
public OpcAttributeWriteAccess? UserWriteAccess { get; set; }Public Property UserWriteAccess As OpcAttributeWriteAccess?Property value
Nullable<OpcAttributeWriteAccess>
One of the members defined by the OpcAttributeWriteAccess enumeration if specified; otherwise a null reference (Nothing in Visual Basic). In case of a null reference (Nothing in Visual Basic) the server defined default value of the attribute is used.
WriteAccess
Gets or sets a value which exposes the possibilities of a client to write the attributes of the node without taking user access rights into account.
public OpcAttributeWriteAccess? WriteAccess { get; set; }Public Property WriteAccess As OpcAttributeWriteAccess?Property value
Nullable<OpcAttributeWriteAccess>
One of the members defined by the OpcAttributeWriteAccess enumeration if specified; otherwise a null reference (Nothing in Visual Basic). In case of a null reference (Nothing in Visual Basic) the server defined default value of the attribute is used.

