OPC Studio User's Guide and Reference
BrowseMultiple Method (EasyUAClientCore)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > EasyUAClientCore Class : BrowseMultiple Method
Array of OpcLabs.EasyOpc.UA.OperationModel.UABrowseArguments. Specifies which nodes to browse in an OPC-UA server, and the browse parameters to be used.

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

Browses multiples nodes in server's address space. Starts from the specified nodes, and returns information about child nodes found.
Syntax
'Declaration
 
Public Function BrowseMultiple( _
   ByVal browseArgumentsArray() As UABrowseArguments _
) As UANodeElementCollectionResult()
'Usage
 
Dim instance As EasyUAClientCore
Dim browseArgumentsArray() As UABrowseArguments
Dim value() As UANodeElementCollectionResult
 
value = instance.BrowseMultiple(browseArgumentsArray)

Parameters

browseArgumentsArray
Array of OpcLabs.EasyOpc.UA.OperationModel.UABrowseArguments. Specifies which nodes to browse in an OPC-UA server, and the browse parameters to be used.

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

Return Value

Array of OpcLabs.EasyOpc.UA.OperationModel.UANodeElementCollectionResult. Returns an array of results. Each result, when successful, stores the node element collection that is the outcome of the browse. The indices of elements in the output array are the same as those in the input array, browseArgumentsArray.

This method never returns null (Nothing in Visual Basic).

The individual elements of the returned value are never null (Nothing in Visual Basic).

Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Remarks

Each element in the input array corresponds to a separate logical browse operation (although the operations may and will be executed together, if possible). The method returns an array of results, where each result corresponds to the browse operation at the same index in the input array.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also