OpcTranslatePath Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcTranslatePath type exposes the following members.

OpcTranslatePath(IEnumerable<OpcName>)

Initializes a new instance of the OpcTranslatePath class using the specified pathElements to start translating them from the root node.

C#

public OpcTranslatePath(IEnumerable<OpcName> pathElements)


Parameters

pathElements IEnumerable<OpcName>

A sequence of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in pathElements to the OpcNodeId requested by the service.


Exceptions

ArgumentNullException

The pathElements or one of its items is a null reference (Nothing in Visual Basic).

OpcTranslatePath(IEnumerable<OpcRelativePathElement>)

Initializes a new instance of the OpcTranslatePath class using the specified pathElements to start translating them from the root node.

C#

public OpcTranslatePath(IEnumerable<OpcRelativePathElement> pathElements)


Parameters

pathElements IEnumerable<OpcRelativePathElement>

A sequence of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in pathElements to the OpcNodeId requested by the service.


Exceptions

ArgumentNullException

The pathElements or one of its items is a null reference (Nothing in Visual Basic).

OpcTranslatePath(OpcName[])

Initializes a new instance of the OpcTranslatePath class using the specified pathElements to start translating them from the root node.

C#

public OpcTranslatePath(params OpcName[] pathElements)


Parameters

pathElements OpcName[]

An array of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in pathElements to the OpcNodeId requested by the service.


Exceptions

ArgumentNullException

The pathElements or one of its items is a null reference (Nothing in Visual Basic).

OpcTranslatePath(OpcNodeId, IEnumerable<OpcName>)

Initializes a new instance of the OpcTranslatePath class using the specified nodeId to start translating the pathElements.

C#

public OpcTranslatePath(OpcNodeId nodeId, IEnumerable<OpcName> pathElements)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the pathElements.

pathElements IEnumerable<OpcName>

A sequence of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in pathElements to the OpcNodeId requested by the service.


Exceptions

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

The nodeId or pathElements or one of its items is a null reference (Nothing in Visual Basic).

OpcTranslatePath(OpcNodeId, IEnumerable<OpcRelativePathElement>)

Initializes a new instance of the OpcTranslatePath class using the specified nodeId to start translating the pathElements.

C#

public OpcTranslatePath(OpcNodeId nodeId, IEnumerable<OpcRelativePathElement> pathElements)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the pathElements.

pathElements IEnumerable<OpcRelativePathElement>

A sequence of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in pathElements to the OpcNodeId requested by the service.


Exceptions

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

The nodeId or pathElements or one of its items is a null reference (Nothing in Visual Basic).

OpcTranslatePath(OpcNodeId, OpcName[])

Initializes a new instance of the OpcTranslatePath class using the specified nodeId to start translating the pathElements.

C#

public OpcTranslatePath(OpcNodeId nodeId, params OpcName[] pathElements)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the pathElements.

pathElements OpcName[]

An array of OpcName objects representing the value of the BrowseName attribute of the nodes to visit to translate the last OpcName item in pathElements to the OpcNodeId requested by the service.


Exceptions

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

The nodeId or pathElements or one of its items is a null reference (Nothing in Visual Basic).

OpcTranslatePath(OpcNodeId, OpcRelativePath)

Initializes a new instance of the OpcTranslatePath class using the specified nodeId to start translating the path.

C#

public OpcTranslatePath(OpcNodeId nodeId, OpcRelativePath path)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the path.

path OpcRelativePath

The OpcRelativePath to the OpcNodeId requested by the service.


Exceptions

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

The nodeId or path is a null reference (Nothing in Visual Basic).

OpcTranslatePath(OpcNodeId, OpcRelativePathElement[])

Initializes a new instance of the OpcTranslatePath class using the specified nodeId to start translating the pathElements.

C#

public OpcTranslatePath(OpcNodeId nodeId, params OpcRelativePathElement[] pathElements)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the pathElements.

pathElements OpcRelativePathElement[]

An array of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in pathElements to the OpcNodeId requested by the service.


Exceptions

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

The pathElements or one of its items is a null reference (Nothing in Visual Basic).

OpcTranslatePath(OpcNodeId, String)

Initializes a new instance of the OpcTranslatePath class using the specified nodeId to start translating the path.

C#

public OpcTranslatePath(OpcNodeId nodeId, string path)


Parameters

nodeId OpcNodeId

The OpcNodeId of the node on which the service will translate the path.

path String

A String representing a OpcRelativePath to the OpcNodeId requested by the service.


Exceptions

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

The nodeId or path is a null reference (Nothing in Visual Basic).

OpcTranslatePath(OpcRelativePathElement[])

Initializes a new instance of the OpcTranslatePath class using the specified pathElements to start translating them from the root node.

C#

public OpcTranslatePath(params OpcRelativePathElement[] pathElements)


Parameters

pathElements OpcRelativePathElement[]

An array of OpcRelativePathElement objects representing the translation directives of the nodes to visit to translate the last OpcRelativePathElement item in pathElements to the OpcNodeId requested by the service.


Exceptions

ArgumentNullException

The pathElements or one of its items is a null reference (Nothing in Visual Basic).

OpcTranslatePath(String)

Initializes a new instance of the OpcTranslatePath class using the specified path to start translating it from the root node.

C#

public OpcTranslatePath(string path)


Parameters

path String

A String representing a OpcRelativePath to the OpcNodeId requested by the service.


Exceptions

ArgumentException

The command does not support empty node identifiers.

ArgumentNullException

The path is a null reference (Nothing in Visual Basic).

Path

Gets the path to follow.

C#

public OpcRelativePath Path { get; }


Property Value

OpcRelativePath

An instance of the OpcRelativePath class its elements are followed to determine the OpcNodeId requested by the service.