OPC Studio User's Guide and Reference
GetMultipleNames Method (IEasyUAFileTransfer)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.FileTransfer Namespace > IEasyUAFileTransfer Interface : GetMultipleNames Method
An array of arguments specifying the server endpoints and node descriptors of the file or directory object nodes.

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).

Gets names of multiple OPC UA files or directories, specified by their object nodes.
Syntax
'Declaration
 
<NotNullAttribute()>
Function GetMultipleNames( _
   ByVal fileOrDirectoryNodeArgumentsArray As IReadOnlyList(Of UANodeArguments) _
) As ValueResult(Of String)()
'Usage
 
Dim instance As IEasyUAFileTransfer
Dim fileOrDirectoryNodeArgumentsArray As IReadOnlyList(Of UANodeArguments)
Dim value() As ValueResult(Of String)
 
value = instance.GetMultipleNames(fileOrDirectoryNodeArgumentsArray)

Parameters

fileOrDirectoryNodeArgumentsArray
An array of arguments specifying the server endpoints and node descriptors of the file or directory object nodes.

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

Returns an array of value result objects. Each element of the array corresponds to the element with the same index in the fileOrDirectoryNodeArgumentsArray, and it contains either a name (string) of the file or directory, or a failure indications (in the OpcLabs.BaseLib.OperationModel.OperationResult.Exception property.)

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

This method does not throw the OpcLabs.EasyOpc.UA.OperationModel.UAException. Failures related to each operand are indicated in the returned OpcLabs.BaseLib.OperationModel.Generic.ValueResult<T> objects.

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

Reference

IEasyUAFileTransfer Interface
IEasyUAFileTransfer Members
GetDirectoryName Method
GetFileName Method
GetName Method
OpcLabs.EasyOpc.UA.FileTransfer.IEasyUAFileTransferExtension.GetMultipleNames(OpcLabs.EasyOpc.UA.FileTransfer.IEasyUAFileTransfer,OpcLabs.EasyOpc.UA.UAEndpointDescriptor,System.Collections.Generic.IReadOnlyList{OpcLabs.EasyOpc.UA.UANodeDescriptor})