OpcNodeReference Class

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

Defines a bunch of OpcReference instances associated with a specific node using its IOpcNode instance or a OpcNodeId to identify the belonging node the references are used for.

C#

public class OpcNodeReference : IOpcNodeReferenceAware


Inheritance Object › OpcNodeReference


Implements IOpcNodeReferenceAware

Name Description
OpcNodeReference(IOpcNode) Initializes a new instance of the OpcNodeReference class using the node specified.
OpcNodeReference(IOpcNode, IEnumerable) Initializes a new instance of the OpcNodeReference class using the node and its references specified.
OpcNodeReference(IOpcNode, OpcReference) Initializes a new instance of the OpcNodeReference class using the node and its references specified.
OpcNodeReference(OpcNodeId) Initializes a new instance of the OpcNodeReference class using the nodeId specified.
OpcNodeReference(OpcNodeId, IEnumerable) Initializes a new instance of the OpcNodeReference class using the nodeId and its node specific references specified.
OpcNodeReference(OpcNodeId, OpcReference) Initializes a new instance of the OpcNodeReference class using the nodeId and its node specific references specified.
Name Description
Node Gets the node to which the References belong to.
NodeId Gets the identifier of the node to which the References belong to.
References Gets a collection of OpcReference instances which belong the node identified by the NodeId or refered to in the Node property.
Name Description
From(IOpcNode) Provides a new OpcNodeReferenceSource initialized with the node specified to construct OpcNodeReference instances using the node as the source node for the subsequent defined OpcNodeReference instances.
From(OpcNodeId) Provides a new OpcNodeReferenceSource initialized with the nodeId specified to construct OpcNodeReference instances using the nodeId as the identifier of the source node for the subsequent defined OpcNodeReference instances.
To(IOpcNode) Provides a bidirectional reference using the targetNode as the target of the reference. The reference created represents a ParentToChild and ChildToParent relation using Organizes as the type of reference.
To(IOpcNode, OpcNodeId) Provides a bidirectional reference using the targetNode as the target of the reference. The reference created represents a ParentToChild and ChildToParent relation using the type of reference identified by the referenceTypeId specified.
To(IOpcNode, OpcReferenceType) Provides a bidirectional reference using the targetNode as the target of the reference. The reference created represents a ParentToChild and ChildToParent relation using the referenceType as the type of reference.
To(OpcNodeId) Provides a bidirectional reference using the targetNodeId as the identifier of the target of the reference. The reference created represents a ParentToChild and ChildToParent relation using Organizes as the type of reference.
To(OpcNodeId, OpcNodeId) Provides a bidirectional reference using the targetNodeId as the identifier of target of the reference. The reference created represents a ParentToChild and ChildToParent relation using the type of reference identified by the referenceTypeId specified.
To(OpcNodeId, OpcReferenceType) Provides a bidirectional reference using the targetNodeId as the identifier of the target of the reference. The reference created represents a ParentToChild and ChildToParent relation using the referenceType as the type of reference.
ToChild(IOpcNode) Provides a unidirectional reference using the targetNode as the target of the reference. The reference created represents a ParentToChild relation using Organizes as the type of reference.
ToChild(IOpcNode, OpcNodeId) Provides a unidirectional reference using the targetNode as the target of the reference. The reference created represents a ParentToChild relation using the type of reference identified by the referenceTypeId specified.
ToChild(IOpcNode, OpcReferenceType) Provides a unidirectional reference using the targetNode as the target of the reference. The reference created represents a ParentToChild relation using the referenceType as the type of reference.
ToChild(OpcNodeId) Provides a unidirectional reference using the targetNodeId as the identifier of the target of the reference. The reference created represents a ParentToChild relation using Organizes as the type of reference.
ToChild(OpcNodeId, OpcNodeId) Provides a unidirectional reference using the targetNodeId as the identifier of target of the reference. The reference created represents a ParentToChild relation using the type of reference identified by the referenceTypeId specified.
ToChild(OpcNodeId, OpcReferenceType) Provides a unidirectional reference using the targetNodeId as the identifier of the target of the reference. The reference created represents a ParentToChild relation using the referenceType as the type of reference.
ToParent(IOpcNode) Provides a unidirectional reference using the targetNode as the target of the reference. The reference created represents a ChildToParent relation using Organizes as the type of reference.
ToParent(IOpcNode, OpcNodeId) Provides a unidirectional reference using the targetNode as the target of the reference. The reference created represents a ChildToParent relation using the type of reference identified by the referenceTypeId specified.
ToParent(IOpcNode, OpcReferenceType) Provides a unidirectional reference using the targetNode as the target of the reference. The reference created represents a ChildToParent relation using the referenceType as the type of reference.
ToParent(OpcNodeId) Provides a unidirectional reference using the targetNodeId as the identifier of the target of the reference. The reference created represents a ChildToParent relation using Organizes as the type of reference.
ToParent(OpcNodeId, OpcNodeId) Provides a unidirectional reference using the targetNodeId as the identifier of target of the reference. The reference created represents a ChildToParent relation using the type of reference identified by the referenceTypeId specified.
ToParent(OpcNodeId, OpcReferenceType) Provides a unidirectional reference using the targetNodeId as the identifier of the target of the reference. The reference created represents a ChildToParent relation using the referenceType as the type of reference.
ToString Returns a string representing the information contained in the OpcNodeReference.