Skip to content

Reference

OpcAddReference Class

Defines a single command of the IOpcAddReferencesService used to add a logical reference between one and another node.

Reference

OpcAddReference Class ​

since v2.7

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcAddReference Members
Also in
Opc.UaFx.Client

Defines a single command of the IOpcAddReferencesService used to add a logical reference between one and another node.

Syntax ​

csharp
public class OpcAddReference : OpcNodeServiceCommand
vbnet
Public Class OpcAddReference
    Inherits OpcNodeServiceCommand

Inheritance ​

Object → OpcServiceCommand → OpcNodeServiceCommand → OpcAddReference

Constructors ​

NameDescription
OpcAddReference4 overloadsInitializes a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other.

Properties ​

NameDescription
DirectionGets a value indicating the logical direction of the reference to add.
ReferenceTypeGets a value which defines a pre-defined used ReferenceTypeId as one of the members defined by the OpcReferenceType enumeration to simplify querying standard reference types.
ReferenceTypeIdGets the identifier which identifies the node that defines the semantic of the reference between the source and the target node and generally reflects an operation between the two, such as "A contains B".
TargetNodeCategoryGets the OpcNodeCategory of the target node identified by TargetNodeId.
TargetNodeIdGets the identifier which identifies the target node which acts as the opponent in the reference to construct between the source node (identified by NodeId) the target node.
TargetServerUriGets or sets the Uri of the remote server which provides the node identified by TargetNodeId.

Methods ​

NameDescription
ToObjectstatic · 4 overloadsCreates a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other.
ToVariablestatic · 4 overloadsCreates a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other.

Inherits members from OpcNodeServiceCommand, OpcServiceCommand.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.7–v2.59