Connectivity Software User's Guide and Reference
ToDAVtqResult Method (EasyDAItemChangedEventArgs<TValue>)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.Generic Namespace > EasyDAItemChangedEventArgs<TValue> Class : ToDAVtqResult Method
The typed event arguments to be converted.

The value of this parameter can be null (Nothing in Visual Basic).

Converts typed event arguments to a corresponding typed result object, DAVtqResult<TValue>.
Syntax
'Declaration
 
<JetBrains.Annotations.CanBeNullAttribute()>
<JetBrains.Annotations.ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Shared Function ToDAVtqResult( _
   ByVal eventArgs As EasyDAItemChangedEventArgs(Of TValue) _
) As DAVtqResult(Of TValue)
'Usage
 
Dim eventArgs As EasyDAItemChangedEventArgs(Of TValue)
Dim value As DAVtqResult(Of TValue)
 
value = EasyDAItemChangedEventArgs(Of TValue).ToDAVtqResult(eventArgs)
[JetBrains.Annotations.CanBeNull()]
[JetBrains.Annotations.ContractAnnotation("null => null; notnull => notnull")]
public static DAVtqResult<TValue> ToDAVtqResult( 
   EasyDAItemChangedEventArgs<TValue> eventArgs
)
[JetBrains.Annotations.CanBeNull()]
[JetBrains.Annotations.ContractAnnotation("null => null; notnull => notnull")]
public:
static DAVtqResult<TValue^>^ ToDAVtqResult( 
   EasyDAItemChangedEventArgs<TValue^>^ eventArgs
) 

Parameters

eventArgs
The typed event arguments to be converted.

The value of this parameter can be null (Nothing in Visual Basic).

Return Value

The typed result object that corresponds to the event arguments. null if the event arguments passed in were null.

This method can return null (Nothing in Visual Basic).

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