'Declaration
<CanBeNullAttribute()> <ContractAnnotationAttribute("null => null; notnull => notnull")> Public Shared Function ToValueResult( _ ByVal vtqResult As DAVtqResult(Of TValue) _ ) As ValueResult(Of TValue)
'Usage
Dim vtqResult As DAVtqResult(Of TValue) Dim value As ValueResult(Of TValue) value = DAVtqResult(Of TValue).ToValueResult(vtqResult)
[CanBeNull()] [ContractAnnotation("null => null; notnull => notnull")] public static ValueResult<TValue> ToValueResult( DAVtqResult<TValue> vtqResult )
[CanBeNull()] [ContractAnnotation("null => null; notnull => notnull")] public: static ValueResult<TValue^>^ ToValueResult( DAVtqResult<TValue^>^ vtqResult )
Parameters
- vtqResult
- The OPC-DA typed VTQ result to be converted.
Return Value
The typed value result object that corresponds to the typed VTQ result. null if the typed VTQ result passed in was null.