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



OpcLabs.EasyOpcClassic 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.
Requirements

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

See Also

Reference

DAReadParameters Class
DAReadParameters Members
Overload List
DADataSource Enumeration
DataSource Property