OPC Studio User's Guide and Reference
GetMultiplePropertyValues Method (EasyDAClientCore)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess Namespace > EasyDAClientCore Class : GetMultiplePropertyValues Method
Array of arguments, one element per each OPC property involved in the operation.

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 values of multiple OPC properties, specifying an array of property arguments objects.
Syntax
'Declaration
 
Public Function GetMultiplePropertyValues( _
   ByVal argumentsArray() As DAPropertyArguments _
) As ValueResult()
'Usage
 
Dim instance As EasyDAClientCore
Dim argumentsArray() As DAPropertyArguments
Dim value() As ValueResult
 
value = instance.GetMultiplePropertyValues(argumentsArray)
public ValueResult[] GetMultiplePropertyValues( 
   DAPropertyArguments[] argumentsArray
)

Parameters

argumentsArray
Array of arguments, one element per each OPC property involved in the operation.

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

The function returns an array of OpcLabs.BaseLib.OperationModel.ValueResult objects. The indices of elements in the output array are the same as those in the input array.

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

The server(s) can be local or can be remotely accessed via DCOM.

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