Skip to content

Reference

OpcTranslatePath Members

Defines a single command of the IOpcTranslatePathsService.

Reference

OpcTranslatePath Members ​

Type
OpcTranslatePath
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from OpcNodeAttributeServiceCommand, OpcNodeServiceCommand, OpcServiceCommand.

Constructors ​

OpcTranslatePath ​

11 overloads

OverloadDescription
OpcTranslatePath(params OpcName[])Initializes a new instance of the OpcTranslatePath class using the specified pathElements to start translating them from the root node.
OpcTranslatePath(IEnumerable<OpcName>)Initializes a new instance of the OpcTranslatePath class using the specified pathElements to start translating them from the root node.
OpcTranslatePath(OpcNodeId, params OpcName[])Initializes a new instance of the OpcTranslatePath class using the specified nodeId to start translating the pathElements.
OpcTranslatePath(OpcNodeId, IEnumerable<OpcName>)Initializes a new instance of the OpcTranslatePath class using the specified nodeId to start translating the pathElements.
OpcTranslatePath(params OpcRelativePathElement[])Initializes a new instance of the OpcTranslatePath class using the specified pathElements to start translating them from the root node.
OpcTranslatePath(IEnumerable<OpcRelativePathElement>)Initializes a new instance of the OpcTranslatePath class using the specified pathElements to start translating them from the root node.
OpcTranslatePath(OpcNodeId, params OpcRelativePathElement[])Initializes a new instance of the OpcTranslatePath class using the specified nodeId to start translating the pathElements.
OpcTranslatePath(OpcNodeId, IEnumerable<OpcRelativePathElement>)Initializes a new instance of the OpcTranslatePath class using the specified nodeId to start translating the pathElements.
OpcTranslatePath(string)Initializes a new instance of the OpcTranslatePath class using the specified path to start translating it from the root node.
OpcTranslatePath(OpcNodeId, string)Initializes a new instance of the OpcTranslatePath class using the specified nodeId to start translating the path.
OpcTranslatePath(OpcNodeId, OpcRelativePath)Initializes a new instance of the OpcTranslatePath class using the specified nodeId to start translating the path.

OpcTranslatePath(params OpcName[]) ​

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

csharp
public OpcTranslatePath(params OpcName[] pathElements)
vbnet
Public Sub New(ParamArray pathElements As OpcName())

Parameters

NameTypeDescription
pathElementsparams 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

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

OpcTranslatePath(IEnumerable<OpcName>) ​

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

csharp
public OpcTranslatePath(IEnumerable<OpcName> pathElements)
vbnet
Public Sub New(pathElements As IEnumerable(Of OpcName))

Parameters

NameTypeDescription
pathElementsIEnumerable<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

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

OpcTranslatePath(OpcNodeId, params OpcName[]) ​

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

csharp
public OpcTranslatePath(OpcNodeId nodeId, params OpcName[] pathElements)
vbnet
Public Sub New(nodeId As OpcNodeId, ParamArray pathElements As OpcName())

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service will translate the pathElements.
pathElementsparams 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

ExceptionCondition
ArgumentExceptionThe command does not support empty node identifiers.
ArgumentNullExceptionThe nodeId or 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.

csharp
public OpcTranslatePath(OpcNodeId nodeId, IEnumerable<OpcName> pathElements)
vbnet
Public Sub New(nodeId As OpcNodeId, pathElements As IEnumerable(Of OpcName))

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service will translate the pathElements.
pathElementsIEnumerable<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

ExceptionCondition
ArgumentExceptionThe command does not support empty node identifiers.
ArgumentNullExceptionThe nodeId or pathElements or one of its items is a null reference (Nothing in Visual Basic).

OpcTranslatePath(params OpcRelativePathElement[]) ​

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

csharp
public OpcTranslatePath(params OpcRelativePathElement[] pathElements)
vbnet
Public Sub New(ParamArray pathElements As OpcRelativePathElement())

Parameters

NameTypeDescription
pathElementsparams 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

ExceptionCondition
ArgumentNullExceptionThe 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.

csharp
public OpcTranslatePath(IEnumerable<OpcRelativePathElement> pathElements)
vbnet
Public Sub New(pathElements As IEnumerable(Of OpcRelativePathElement))

Parameters

NameTypeDescription
pathElementsIEnumerable<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

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

OpcTranslatePath(OpcNodeId, params OpcRelativePathElement[]) ​

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

csharp
public OpcTranslatePath(
    OpcNodeId nodeId,
    params OpcRelativePathElement[] pathElements)
vbnet
Public Sub New(
    nodeId As OpcNodeId,
    ParamArray pathElements As OpcRelativePathElement())

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service will translate the pathElements.
pathElementsparams 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

ExceptionCondition
ArgumentExceptionThe command does not support empty node identifiers.
ArgumentNullExceptionThe 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.

csharp
public OpcTranslatePath(
    OpcNodeId nodeId,
    IEnumerable<OpcRelativePathElement> pathElements)
vbnet
Public Sub New(
    nodeId As OpcNodeId,
    pathElements As IEnumerable(Of OpcRelativePathElement))

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service will translate the pathElements.
pathElementsIEnumerable<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

ExceptionCondition
ArgumentExceptionThe command does not support empty node identifiers.
ArgumentNullExceptionThe nodeId or 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.

csharp
public OpcTranslatePath(string path)
vbnet
Public Sub New(path As String)

Parameters

NameTypeDescription
pathStringA string representing a OpcRelativePath to the OpcNodeId requested by the service.

Exceptions

ExceptionCondition
ArgumentExceptionThe command does not support empty node identifiers.
ArgumentNullExceptionThe path 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.

csharp
public OpcTranslatePath(OpcNodeId nodeId, string path)
vbnet
Public Sub New(nodeId As OpcNodeId, path As String)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service will translate the path.
pathStringA string representing a OpcRelativePath to the OpcNodeId requested by the service.

Exceptions

ExceptionCondition
ArgumentExceptionThe command does not support empty node identifiers.
ArgumentNullExceptionThe nodeId or path 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.

csharp
public OpcTranslatePath(OpcNodeId nodeId, OpcRelativePath path)
vbnet
Public Sub New(nodeId As OpcNodeId, path As OpcRelativePath)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node on which the service will translate the path.
pathOpcRelativePathThe OpcRelativePath to the OpcNodeId requested by the service.

Exceptions

ExceptionCondition
ArgumentExceptionThe command does not support empty node identifiers.
ArgumentNullExceptionThe nodeId or path is a null reference (Nothing in Visual Basic).

Properties ​

Path ​

Gets the path to follow.

csharp
public OpcRelativePath Path { get; }
vbnet
Public ReadOnly Property Path As OpcRelativePath

Property value

OpcRelativePath

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