Skip to content

Reference

OpcClient.BrowseNodes Method

Browses the nodes as defined by the commands specified to examine their attributes and their references.

Reference

OpcClient.BrowseNodes Method ​

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

2 overloads · since v2.9

OverloadDescription
BrowseNodes(IEnumerable<OpcBrowseNode>)since v2.9Browses the nodes as defined by the commands specified to examine their attributes and their references.
BrowseNodes(params OpcBrowseNode[])since v2.9Browses the nodes as defined by the commands specified to examine their attributes and their references.

Exceptions (all overloads)

ExceptionCondition
OpcExceptionThe client is not connected to the server.
ObjectDisposedExceptionThe object has been disposed of.

BrowseNodes(IEnumerable<OpcBrowseNode>) ​

since v2.9

Browses the nodes as defined by the commands specified to examine their attributes and their references.

csharp
public IEnumerable<OpcNodeInfo> BrowseNodes(IEnumerable<OpcBrowseNode> commands)
vbnet
Public Function BrowseNodes(
    commands As IEnumerable(Of OpcBrowseNode)) As IEnumerable(Of OpcNodeInfo)

Parameters

NameTypeDescription
commandsIEnumerable<OpcBrowseNode>A sequence of OpcBrowseNode commands, each defining the node, the view, the type of references and the degree of nodes to browse.

Returns

IEnumerable<OpcNodeInfo>

A sequence of OpcNodeInfo instances, one for each command in the order of the commands. Each instance is of the OpcNodeInfo class or of one of its derived classes depending on the category of the node.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe commands sequence is a null reference (Nothing in Visual Basic).
LicenseExceptionThe license is expired.

Remarks

The sequence returned is evaluated deferred: the commands are verified and processed and the exceptions documented are thrown not before the sequence is enumerated. In case there a node cannot be found or retrieved from the server no exception is thrown; instead an OpcNodeInfo is provided whose Category is Unspecified.

BrowseNodes(params OpcBrowseNode[]) ​

since v2.9

Browses the nodes as defined by the commands specified to examine their attributes and their references.

csharp
public IEnumerable<OpcNodeInfo> BrowseNodes(params OpcBrowseNode[] commands)
vbnet
Public Function BrowseNodes(
    ParamArray commands As OpcBrowseNode()) As IEnumerable(Of OpcNodeInfo)

Parameters

NameTypeDescription
commandsparams OpcBrowseNode[]An array of OpcBrowseNode commands, each defining the node, the view, the type of references and the degree of nodes to browse.

Returns

IEnumerable<OpcNodeInfo>

A sequence of OpcNodeInfo instances, one for each command in the order of the commands. Each instance is of the OpcNodeInfo class or of one of its derived classes depending on the category of the node.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe commands array is a null reference (Nothing in Visual Basic).

Remarks

The sequence returned is evaluated deferred: the commands are verified and processed and the exceptions documented are thrown not before the sequence is enumerated. In case there a node cannot be found or retrieved from the server no exception is thrown; instead an OpcNodeInfo is provided whose Category is Unspecified.