OpcBidirectionalReference Class

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

Describes a bidirectional reference from a logical 'parent' to a logical 'child' AND vice versa using a specific type of reference between the two opponents.

C#

public class OpcBidirectionalReference : IOpcNodeReferenceAware


Inheritance Object › OpcBidirectionalReference


Implements IOpcNodeReferenceAware

Name Description
OpcBidirectionalReference(IOpcNode, OpcNodeId) Initializes a new instance of the OpcBidirectionalReference class using the targetNode as the target using the type of reference identified by the typeId specified.
OpcBidirectionalReference(IOpcNode, OpcReferenceType) Initializes a new instance of the OpcBidirectionalReference class using the targetNode as the target of the reference and using the value of the type parameter as the type of reference.
OpcBidirectionalReference(OpcNodeId, OpcNodeId) Initializes a new instance of the OpcBidirectionalReference class using the targetNodeId as the identifier of the target and using the type of reference identified by the typeId specified.
OpcBidirectionalReference(OpcNodeId, OpcReferenceType) Initializes a new instance of the OpcBidirectionalReference class using the targetNodeId as the identifier of the target of the reference using the value of the type parameter as the type of the reference.
Name Description
TargetNode Gets the node to which the reference refers to.
TargetNodeId Gets the identifier of the node to which the reference refers to.
Type Gets a value which defines the pre-defined type of reference represented.
TypeId Gets the identifier which identifies the node that defines the semantic of the reference between the source and the target node represented through this OpcBidirectionalReference and generally reflects an operation between the two, such as “A contains B” and vice versa.
Name Description
GetReferences Retrieves an empty sequence of OpcNodeReference instances.
GetReferences(IOpcNode) Retrieves a sequence with two OpcNodeReference instances using the node specified as the source and target of the references.
GetReferences(OpcNodeId) Retrieves a sequence with two OpcNodeReference instances using the nodeId specified as the source and target of the references.
ToString Returns a string representing the information contained in the OpcBidirectionalReference.