QuickOPC User's Guide and Reference
Explicit Type Conversion Operator (DAVtqResult)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.OperationModel Namespace > DAVtqResult Class : Explicit Type Conversion Operator
The OPC-DA VTQ result to be converted.
Converts OPC-DA VTQ result object to a corresponding value result object, OpcLabs.BaseLib.OperationModel.ValueResult.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Operator Narrowing CType( _
   ByVal vtqResult As DAVtqResult _
) As ValueResult
'Usage
 
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public ValueResult operator explicit( 
   DAVtqResult vtqResult
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
ValueResult^ operator explicit( 
   DAVtqResult^ vtqResult
)

Parameters

vtqResult
The OPC-DA VTQ result to be converted.

Return Value

The value result object that corresponds to the VTQ result. null if the VTQ result passed in was null.
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

DAVtqResult Class
DAVtqResult Members