OPC Studio User's Guide and Reference
Implicit Type Conversion(DAReadParameters,DADataSource) Operator



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess Namespace > DAReadParameters Class > Implicit Type Conversion Operator : Implicit Type Conversion(DAReadParameters,DADataSource) Operator
Selects the data source for OPC reads (from device, from OPC cache, or dynamically determined).
Converts a DADataSource to a DAReadParameters object.
Syntax
'Declaration
 
<NotNullAttribute()>
Overloads Public Operator Widening CType( _
   ByVal dataSource As DADataSource _
) As DAReadParameters
'Usage
 
[NotNull()]
public DAReadParameters operator implicit( 
   DADataSource dataSource
)
[NotNull()]
public:
operator DAReadParameters^ ( 
   DADataSource dataSource
)

Parameters

dataSource
Selects the data source for OPC reads (from device, from OPC cache, or dynamically determined).

Return Value

Returns a DAReadParameters object converted from the input argument.

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

Remarks

This operator is equivalent to FromDADataSource.

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