Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcTranslatePath type exposes the following members.
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
The pathElements
or one of its items is a null reference (Nothing in Visual Basic).
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
The pathElements
or one of its items is a null reference (Nothing in Visual Basic).
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
The pathElements
or one of its items is a null reference (Nothing in Visual Basic).
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
The command does not support empty node identifiers.
The nodeId
or pathElements
or one of its items is a null reference (Nothing in Visual Basic).
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
The command does not support empty node identifiers.
The nodeId
or pathElements
or one of its items is a null reference (Nothing in Visual Basic).
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
The command does not support empty node identifiers.
The nodeId
or pathElements
or one of its items is a null reference (Nothing in Visual Basic).
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
The command does not support empty node identifiers.
The nodeId
or path
is a null reference (Nothing in Visual Basic).
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
The command does not support empty node identifiers.
The pathElements
or one of its items is a null reference (Nothing in Visual Basic).
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
The command does not support empty node identifiers.
The nodeId
or path
is a null reference (Nothing in Visual Basic).
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
The pathElements
or one of its items is a null reference (Nothing in Visual Basic).
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
The command does not support empty node identifiers.
The path
is a null reference (Nothing in Visual Basic).
Gets the path to follow.
C#
public OpcRelativePath Path { get; }
Property Value
An instance of the OpcRelativePath class its elements are followed to determine the OpcNodeId requested by the service.