Reference
OpcAddReference Class
Defines a single command of the IOpcAddReferencesService used to add a logical reference between one and another node.
Reference
OpcAddReference Class
- 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 : OpcNodeServiceCommandvbnet
Public Class OpcAddReference
Inherits OpcNodeServiceCommandInheritance
Object → OpcServiceCommand → OpcNodeServiceCommand → OpcAddReference
Constructors
| Name | Description |
|---|---|
| OpcAddReference | Initializes a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other. |
Properties
| Name | Description |
|---|---|
| Direction | Gets a value indicating the logical direction of the reference to add. |
| ReferenceType | Gets 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. |
| ReferenceTypeId | Gets 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". |
| Target | Gets the OpcNodeCategory of the target node identified by TargetNodeId. |
| TargetNodeId | Gets the identifier which identifies the target node which acts as the opponent in the reference to construct between the source node ( |
| TargetServerUri | Gets or sets the Uri of the remote server which provides the node identified by TargetNodeId. |
Methods
| Name | Description |
|---|---|
| ToObject | Creates a new instance of the OpcAddReference class using the identifiers of the nodes which shall reference each other. |
| ToVariable | Creates 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
| Package | Versions |
|---|---|
| Opc. | v2. |

