OpcDeleteNode Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcDeleteNode type exposes the following members.

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.

C#

public OpcDeleteNode(OpcNodeId nodeId)


Parameters

nodeId OpcNodeId

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


Exceptions

ArgumentException

The nodeId is equals Null.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

OpcDeleteNode(OpcNodeId, Boolean)

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.

C#

public OpcDeleteNode(OpcNodeId nodeId, bool includeTargetReferences)


Parameters

nodeId OpcNodeId

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

includeTargetReferences Boolean

A 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.


Exceptions

ArgumentException

The nodeId is equals Null.

ArgumentNullException

The nodeId is a null reference (Nothing in Visual Basic).

IncludeTargetReferences

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

C#

public bool IncludeTargetReferences { get; }


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.