Skip to content

Reference

OpcDeleteNode Members

Defines a single command of the IOpcDeleteNodesService used to delete one node.

Reference

OpcDeleteNode Members ​

Type
OpcDeleteNode
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 ​

OpcDeleteNode ​

2 overloads

OverloadDescription
OpcDeleteNode(OpcNodeId)Initializes a new instance of the OpcDeleteNode class using the identifier of the node which shall be deleted including the references where the node acts as the source and as the target of the reference.
OpcDeleteNode(OpcNodeId, bool)Initializes a new instance of the OpcDeleteNode class using the identifier of the node which shall be deleted including the references where the node acts as the source and optionally (see includeTargetReferences) as the target of the reference.

Exceptions (all overloads)

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

OpcDeleteNode(OpcNodeId) ​

Initializes a new instance of the OpcDeleteNode class using the identifier of the node which shall be deleted including the references where the node acts as the source and as the target of the reference.

csharp
public OpcDeleteNode(OpcNodeId nodeId)
vbnet
Public Sub New(nodeId As OpcNodeId)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId through that the node to delete can be identified and accessed.

OpcDeleteNode(OpcNodeId, bool) ​

Initializes a new instance of the OpcDeleteNode class using the identifier of the node which shall be deleted including the references where the node acts as the source and optionally (see includeTargetReferences) as the target of the reference.

csharp
public OpcDeleteNode(OpcNodeId nodeId, bool includeTargetReferences)
vbnet
Public Sub New(nodeId As OpcNodeId, includeTargetReferences As Boolean)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId through that the node to delete can be identified and accessed.
includeTargetReferencesBooleanA value indicating whether all references there the node being deleted acts as the target shall be deleted as well. The value true if all references using the node to delete as the target of the reference shall be deleted as well; otherwise the value false which indicates that only references there the node to delete acts as the source of the reference.

Properties ​

IncludeTargetReferences ​

Gets a value indicating whether all references there the node being deleted acts as the target shall be deleted as well.

csharp
public bool IncludeTargetReferences { get; }
vbnet
Public ReadOnly Property IncludeTargetReferences As Boolean

Property value

Boolean

The value true if all references using the node to delete as the target of the reference shall be deleted as well (the default value); otherwise the value false which indicates that only references there the node to delete acts as the source of the reference.