Reference
OpcNodeReferenceSource Members
Provides a set of methods to construct OpcNodeReference instances using different source node information.
Reference
OpcNodeReferenceSource Members
- Type
- OpcNodeReferenceSource
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Constructors
OpcNodeReferenceSource
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcnode specified from which the references constructed originate from. |
| Opc | Initializes a new instance of the OpcnodeId to identify the node from which the references constructed originate from. |
OpcNodeReferenceSource(IOpcNode)
Initializes a new instance of the OpcNodeReferenceSource class using the node specified from which the references constructed originate from.
public OpcNodeReferenceSource(IOpcNode node)Public Sub New(node As IOpcNode)Parameters
| Name | Type | Description |
|---|---|---|
node | IOpcNode | The IOpcNode used as the source node of the references constructed. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node is a null reference ( |
OpcNodeReferenceSource(OpcNodeId)
Initializes a new instance of the OpcNodeReferenceSource class using the nodeId to identify the node from which the references constructed originate from.
public OpcNodeReferenceSource(OpcNodeId nodeId)Public Sub New(nodeId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId which identifies the source node of the references constructed. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
Properties
Node
Gets the node from which the references constructed originate from.
public IOpcNode Node { get; }Public ReadOnly Property Node As IOpcNodeProperty value
The IOpcNode which is used as the source node of the references constructed or a null refernce (Nothing in Visual Basic) in case there this OpcNodeReferenceSource has been initialized using a OpcNodeId which identifies the node the references shall originate from.
NodeId
Gets the identifier of the node from which the references constructred originate from.
public OpcNodeId NodeId { get; }Public ReadOnly Property NodeId As OpcNodeIdProperty value
The OpcNodeId which identifies the node from which the references constructed originate from.
Methods
To
| Overload | Description |
|---|---|
| To( | Provides a node / references bundle in a new instance of the OpcNodeReference class using the source node information of this Opcreferences specified. |
| To( | Provides a node / references bundle in a new instance of the OpcNodeReference class using the source node information of this Opcreferences specified. |
| To( | Provides a set of node / reference bundles in a new instance of the OpctargetNode as the target of the references. |
| To( | Provides a set of node / reference bundles in a new instance of the OpctargetNode as the target of the reference. |
| To( | Provides a set of node / reference bundles in a new instance of the OpctargetNode as the target of the reference. |
| To( | Provides a set of node / reference bundles in a new instance of the OpctargetNodeId as the identifier of the target of the references. |
| To( | Provides a set of node / reference bundles in a new instance of the OpctargetNodeId as the identifier of the target of the reference. |
| To( | Provides a set of node / reference bundles in a new instance of the OpctargetNodeId as the identifier of the target of the reference. |
To(IEnumerable<OpcReference>)
Provides a node / references bundle in a new instance of the OpcNodeReference class using the source node information of this OpcNodeReferenceSource and the references specified.
public OpcNodeReference To(IEnumerable<OpcReference> references)Public Function [To](
references As IEnumerable(Of OpcReference)) As OpcNodeReferenceParameters
| Name | Type | Description |
|---|---|---|
references | IEnumerable<OpcReference> | A sequence of OpcReference instances to associate with the node information refered to in this Opc |
Returns
A new instance of the OpcNodeReference class which combines the node information of this OpcNodeReferenceSource and the references specified.
To(params OpcReference[])
Provides a node / references bundle in a new instance of the OpcNodeReference class using the source node information of this OpcNodeReferenceSource and the references specified.
public OpcNodeReference To(params OpcReference[] references)Public Function [To](
ParamArray references As OpcReference()) As OpcNodeReferenceParameters
| Name | Type | Description |
|---|---|---|
references | params OpcReference[] | An array of OpcReference instances to associate with the node information refered to in this Opc |
Returns
A new instance of the OpcNodeReference class which combines the node information of this OpcNodeReferenceSource and the references specified.
To(IOpcNode)
Provides a set of node / reference bundles in a new instance of the OpcNodeReferenceSet class using the source node information of this OpcNodeReferenceSource and the targetNode as the target of the references. The references created represent a ParentToChild and ChildToParent relation using Organizes as the type of reference.
public OpcNodeReferenceSet To(IOpcNode targetNode)Public Function [To](targetNode As IOpcNode) As OpcNodeReferenceSetParameters
| Name | Type | Description |
|---|---|---|
targetNode | IOpcNode | The IOpcNode used as the target one reference will cease in, while the second reference uses it the other way round. |
Returns
A new instance of the OpcNodeReferenceSet class which owns two OpcNodeReference instances representing a bidirectional relation between the node refered to by this OpcNodeReferenceSource and the targetNode specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNode is a null reference ( |
To(IOpcNode, OpcReferenceType)
Provides a set of node / reference bundles in a new instance of the OpcNodeReferenceSet class using the source node information of this OpcNodeReferenceSource and the targetNode as the target of the reference. The references created represent a ParentToChild and ChildToParent relation using the referenceType as the type of reference.
public OpcNodeReferenceSet To(
IOpcNode targetNode,
OpcReferenceType referenceType)Public Function [To](
targetNode As IOpcNode,
referenceType As OpcReferenceType) As OpcNodeReferenceSetParameters
| Name | Type | Description |
|---|---|---|
targetNode | IOpcNode | The IOpcNode used as the target one reference will cease in, while the second reference uses it the other way round. |
referenceType | OpcReferenceType | One of the members defined by the OpcReferenceType enumeration to use to setup the type of reference represented. |
Returns
A new instance of the OpcNodeReferenceSet class which owns two OpcNodeReference instances representing a bidirectional relation between the node refered to by this OpcNodeReferenceSource and the targetNode specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNode is a null reference ( |
To(IOpcNode, OpcNodeId)
Provides a set of node / reference bundles in a new instance of the OpcNodeReferenceSet class using the source node information of this OpcNodeReferenceSource and the targetNode as the target of the reference. The references created represent a ParentToChild and ChildToParent relation using the type of reference identified by the referenceTypeId specified.
public OpcNodeReferenceSet To(IOpcNode targetNode, OpcNodeId referenceTypeId)Public Function [To](
targetNode As IOpcNode,
referenceTypeId As OpcNodeId) As OpcNodeReferenceSetParameters
| Name | Type | Description |
|---|---|---|
targetNode | IOpcNode | The IOpcNode used as the target one reference will cease in, while the second reference uses it the other way round. |
referenceTypeId | OpcNodeId | The OpcNodeId which identifies the type of reference to represent between the targetNode and its opponent. |
Returns
A new instance of the OpcNodeReferenceSet class which owns two OpcNodeReference instances representing a bidirectional relation between the node refered to by this OpcNodeReferenceSource and the targetNode specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNode or referenceTypeId is a null reference ( |
To(OpcNodeId)
Provides a set of node / reference bundles in a new instance of the OpcNodeReferenceSet class using the source node information of this OpcNodeReferenceSource and the targetNodeId as the identifier of the target of the references. The references created represent a ParentToChild and ChildToParent relation using Organizes as the type of reference.
public OpcNodeReferenceSet To(OpcNodeId targetNodeId)Public Function [To](targetNodeId As OpcNodeId) As OpcNodeReferenceSetParameters
| Name | Type | Description |
|---|---|---|
targetNodeId | OpcNodeId | The OpcNodeId which identifies the node used as the target one reference will cease in, while the second reference uses it the other way round. |
Returns
A new instance of the OpcNodeReferenceSet class which owns two OpcNodeReference instances representing a bidirectional relation between the node refered to by this OpcNodeReferenceSource and the node identified by the targetNodeId specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNodeId is a null reference ( |
To(OpcNodeId, OpcReferenceType)
Provides a set of node / reference bundles in a new instance of the OpcNodeReferenceSet class using the source node information of this OpcNodeReferenceSource and the targetNodeId as the identifier of the target of the reference. The references created represent a ParentToChild and ChildToParent relation using the referenceType as the type of reference.
public OpcNodeReferenceSet To(
OpcNodeId targetNodeId,
OpcReferenceType referenceType)Public Function [To](
targetNodeId As OpcNodeId,
referenceType As OpcReferenceType) As OpcNodeReferenceSetParameters
| Name | Type | Description |
|---|---|---|
targetNodeId | OpcNodeId | The OpcNodeId which identifies the node used as the target one reference will cease in, while the second reference uses it the other way round. |
referenceType | OpcReferenceType | One of the members defined by the OpcReferenceType enumeration to use to setup the type of reference represented. |
Returns
A new instance of the OpcNodeReferenceSet class which owns two OpcNodeReference instances representing a bidirectional relation between the node refered to by this OpcNodeReferenceSource and the node identified by the targetNodeId specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNodeId or referenceType is a null reference ( |
To(OpcNodeId, OpcNodeId)
Provides a set of node / reference bundles in a new instance of the OpcNodeReferenceSet class using the source node information of this OpcNodeReferenceSource and the targetNodeId as the identifier of the target of the reference. The references created represent a ParentToChild and ChildToParent relation using the type of reference identified by the referenceTypeId specified.
public OpcNodeReferenceSet To(OpcNodeId targetNodeId, OpcNodeId referenceTypeId)Public Function [To](
targetNodeId As OpcNodeId,
referenceTypeId As OpcNodeId) As OpcNodeReferenceSetParameters
| Name | Type | Description |
|---|---|---|
targetNodeId | OpcNodeId | The OpcNodeId which identifies the node used as the target one reference will cease in, while the second reference uses it the other way round. |
referenceTypeId | OpcNodeId | The OpcNodeId which identifies the type of reference to represent between the target identified by the targetNodeId and its opponent. |
Returns
A new instance of the OpcNodeReferenceSet class which owns two OpcNodeReference instances representing a bidirectional relation between the node refered to by this OpcNodeReferenceSource and the node identified by the targetNodeId specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNodeId or referenceTypeId is a null reference ( |
ToChild
| Overload | Description |
|---|---|
| ToChild( | Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpctargetNode as the target of the reference. |
| ToChild( | Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpctargetNode as the target of the reference. |
| ToChild( | Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpctargetNode as the target of the reference. |
| ToChild( | Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpctargetNodeId as the identifier of the target of the reference. |
| ToChild( | Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpctargetNodeId as the identifier of the target of the reference. |
| ToChild( | Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpctargetNodeId as the identifier of the target of the reference. |
ToChild(IOpcNode)
Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpcNodeReferenceSource and the targetNode as the target of the reference. The reference created represents a ParentToChild relation using Organizes as the type of reference.
public OpcNodeReference ToChild(IOpcNode targetNode)Public Function ToChild(targetNode As IOpcNode) As OpcNodeReferenceParameters
| Name | Type | Description |
|---|---|---|
targetNode | IOpcNode | The IOpcNode in which the reference constructed ceases. |
Returns
A new instance of the OpcNodeReference class which represents a unidirectional relation between the node referenced by this OpcNodeReferenceSource and the targetNode specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNode is a null reference ( |
ToChild(IOpcNode, OpcReferenceType)
Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpcNodeReferenceSource and the targetNode as the target of the reference. The reference created represents a ParentToChild relation using the referenceType as the type of reference.
public OpcNodeReference ToChild(
IOpcNode targetNode,
OpcReferenceType referenceType)Public Function ToChild(
targetNode As IOpcNode,
referenceType As OpcReferenceType) As OpcNodeReferenceParameters
| Name | Type | Description |
|---|---|---|
targetNode | IOpcNode | The IOpcNode in which the reference constructed ceases. |
referenceType | OpcReferenceType | One of the members defined by the OpcReferenceType enumeration to use to setup the type of reference represented. |
Returns
A new instance of the OpcNodeReference class which represents a unidirectional relation between the node referenced by this OpcNodeReferenceSource and the targetNode specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNode is a null reference ( |
ToChild(IOpcNode, OpcNodeId)
Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpcNodeReferenceSource and 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.
public OpcNodeReference ToChild(IOpcNode targetNode, OpcNodeId referenceTypeId)Public Function ToChild(
targetNode As IOpcNode,
referenceTypeId As OpcNodeId) As OpcNodeReferenceParameters
| Name | Type | Description |
|---|---|---|
targetNode | IOpcNode | The IOpcNode in which the reference constructed ceases. |
referenceTypeId | OpcNodeId | The OpcNodeId which identifies the type of reference to represent between the targetNode and its opponent. |
Returns
A new instance of the OpcNodeReference class which represents a unidirectional relation between the node referenced by this OpcNodeReferenceSource and the targetNode specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNode or referenceTypeId is a null reference ( |
ToChild(OpcNodeId)
Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpcNodeReferenceSource and 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.
public OpcNodeReference ToChild(OpcNodeId targetNodeId)Public Function ToChild(targetNodeId As OpcNodeId) As OpcNodeReferenceParameters
| Name | Type | Description |
|---|---|---|
targetNodeId | OpcNodeId | The OpcNodeId which identifies the node in which the reference constructed ceases. |
Returns
A new instance of the OpcNodeReference class which represents a unidirectional relation between the node referenced by this OpcNodeReferenceSource and the node identified by the targetNodeId specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNodeId is a null reference ( |
ToChild(OpcNodeId, OpcReferenceType)
Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpcNodeReferenceSource and 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.
public OpcNodeReference ToChild(
OpcNodeId targetNodeId,
OpcReferenceType referenceType)Public Function ToChild(
targetNodeId As OpcNodeId,
referenceType As OpcReferenceType) As OpcNodeReferenceParameters
| Name | Type | Description |
|---|---|---|
targetNodeId | OpcNodeId | The OpcNodeId which identifies the node in which the reference constructed ceases. |
referenceType | OpcReferenceType | One of the members defined by the OpcReferenceType enumeration to use to setup the type of reference represented. |
Returns
A new instance of the OpcNodeReference class which represents a unidirectional relation between the node referenced by this OpcNodeReferenceSource and the node identified by the targetNodeId specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNodeId is a null reference ( |
ToChild(OpcNodeId, OpcNodeId)
Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpcNodeReferenceSource and the targetNodeId as the identifier of the target of the reference. The reference created represents a ParentToChild relation using the type of reference identified by the referenceTypeId specified.
public OpcNodeReference ToChild(
OpcNodeId targetNodeId,
OpcNodeId referenceTypeId)Public Function ToChild(
targetNodeId As OpcNodeId,
referenceTypeId As OpcNodeId) As OpcNodeReferenceParameters
| Name | Type | Description |
|---|---|---|
targetNodeId | OpcNodeId | The OpcNodeId which identifies the node in which the reference constructed ceases. |
referenceTypeId | OpcNodeId | The OpcNodeId which identifies the type of reference to represent between the target identified by the targetNodeId and its opponent. |
Returns
A new instance of the OpcNodeReference class which represents a unidirectional relation between the node referenced by this OpcNodeReferenceSource and the node identified by the targetNodeId specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNodeId or referenceTypeId is a null reference ( |
ToParent
| Overload | Description |
|---|---|
| ToParent( | Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpctargetNode as the target of the reference. |
| ToParent( | Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpctargetNode as the target of the reference. |
| ToParent( | Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpctargetNode as the target of the reference. |
| ToParent( | Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpctargetNodeId as the identifier of the target of the reference. |
| ToParent( | Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpctargetNodeId as the identifier of the target of the reference. |
| ToParent( | Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpctargetNodeId as the identifier of the target of the reference. |
ToParent(IOpcNode)
Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpcNodeReferenceSource and the targetNode as the target of the reference. The reference created represents a ChildToParent relation using Organizes as the type of reference.
public OpcNodeReference ToParent(IOpcNode targetNode)Public Function ToParent(targetNode As IOpcNode) As OpcNodeReferenceParameters
| Name | Type | Description |
|---|---|---|
targetNode | IOpcNode | The IOpcNode in which the reference constructed ceases. |
Returns
A new instance of the OpcNodeReference class which represents a unidirectional relation between the node referenced by this OpcNodeReferenceSource and the targetNode specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNode is a null reference ( |
ToParent(IOpcNode, OpcReferenceType)
Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpcNodeReferenceSource and the targetNode as the target of the reference. The reference created represents a ChildToParent relation using the referenceType as the type of reference.
public OpcNodeReference ToParent(
IOpcNode targetNode,
OpcReferenceType referenceType)Public Function ToParent(
targetNode As IOpcNode,
referenceType As OpcReferenceType) As OpcNodeReferenceParameters
| Name | Type | Description |
|---|---|---|
targetNode | IOpcNode | The IOpcNode in which the reference constructed ceases. |
referenceType | OpcReferenceType | One of the members defined by the OpcReferenceType enumeration to use to setup the type of reference represented. |
Returns
A new instance of the OpcNodeReference class which represents a unidirectional relation between the node referenced by this OpcNodeReferenceSource and the targetNode specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNode is a null reference ( |
ToParent(IOpcNode, OpcNodeId)
Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpcNodeReferenceSource and 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.
public OpcNodeReference ToParent(IOpcNode targetNode, OpcNodeId referenceTypeId)Public Function ToParent(
targetNode As IOpcNode,
referenceTypeId As OpcNodeId) As OpcNodeReferenceParameters
| Name | Type | Description |
|---|---|---|
targetNode | IOpcNode | The IOpcNode in which the reference constructed ceases. |
referenceTypeId | OpcNodeId | The OpcNodeId which identifies the type of reference to represent between the targetNode and its opponent. |
Returns
A new instance of the OpcNodeReference class which represents a unidirectional relation between the node referenced by this OpcNodeReferenceSource and the targetNode specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNode or referenceTypeId is a null reference ( |
ToParent(OpcNodeId)
Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpcNodeReferenceSource and 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.
public OpcNodeReference ToParent(OpcNodeId targetNodeId)Public Function ToParent(targetNodeId As OpcNodeId) As OpcNodeReferenceParameters
| Name | Type | Description |
|---|---|---|
targetNodeId | OpcNodeId | The OpcNodeId which identifies the node in which the reference constructed ceases. |
Returns
A new instance of the OpcNodeReference class which represents a unidirectional relation between the node referenced by this OpcNodeReferenceSource and the node identified by the targetNodeId specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNodeId is a null reference ( |
ToParent(OpcNodeId, OpcReferenceType)
Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpcNodeReferenceSource and 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.
public OpcNodeReference ToParent(
OpcNodeId targetNodeId,
OpcReferenceType referenceType)Public Function ToParent(
targetNodeId As OpcNodeId,
referenceType As OpcReferenceType) As OpcNodeReferenceParameters
| Name | Type | Description |
|---|---|---|
targetNodeId | OpcNodeId | The OpcNodeId which identifies the node in which the reference constructed ceases. |
referenceType | OpcReferenceType | One of the members defined by the OpcReferenceType enumeration to use to setup the type of reference represented. |
Returns
A new instance of the OpcNodeReference class which represents a unidirectional relation between the node referenced by this OpcNodeReferenceSource and the node identified by the targetNodeId specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNodeId is a null reference ( |
ToParent(OpcNodeId, OpcNodeId)
Provides a node / reference bundle in a new instance of the OpcNodeReference class using the source node information of this OpcNodeReferenceSource and the targetNodeId as the identifier of the target of the reference. The reference created represents a ChildToParent relation using the type of reference identified by the referenceTypeId specified.
public OpcNodeReference ToParent(
OpcNodeId targetNodeId,
OpcNodeId referenceTypeId)Public Function ToParent(
targetNodeId As OpcNodeId,
referenceTypeId As OpcNodeId) As OpcNodeReferenceParameters
| Name | Type | Description |
|---|---|---|
targetNodeId | OpcNodeId | The OpcNodeId which identifies the node in which the reference constructed ceases. |
referenceTypeId | OpcNodeId | The OpcNodeId which identifies the type of reference to represent between the target identified by the targetNodeId and its opponent. |
Returns
A new instance of the OpcNodeReference class which represents a unidirectional relation between the node referenced by this OpcNodeReferenceSource and the node identified by the targetNodeId specified.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The targetNodeId or referenceTypeId is a null reference ( |
ToString
Returns a string representing the information contained in the OpcNodeReferenceSource.
public override string ToString()Public Overrides Function ToString() As StringReturns
A string which describes the information in this OpcNodeReferenceSource.
Overrides

