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.
Gets names of multiple OPC UA files or directories, specified by their object nodes.
Syntax
'Declaration
 
<ElementsNotNullAttribute()>
<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)
[ElementsNotNull()]
[NotNull()]
ValueResult<string>[] GetMultipleNames( 
   IReadOnlyList<UANodeArguments> fileOrDirectoryNodeArgumentsArray
)

Parameters

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

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