OPC Studio User's Guide and Reference
Explicit Type Conversion Operator (EasyDAItemChangedEventArgs)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.OperationModel Namespace > EasyDAItemChangedEventArgs Class : Explicit Type Conversion Operator
The event arguments to be converted.

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

Converts event arguments to a corresponding result object, DAVtqResult.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Operator Narrowing CType( _
   ByVal eventArgs As EasyDAItemChangedEventArgs _
) As DAVtqResult
'Usage
 
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public DAVtqResult operator explicit( 
   EasyDAItemChangedEventArgs eventArgs
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
DAVtqResult^ operator explicit( 
   EasyDAItemChangedEventArgs^ eventArgs
)

Parameters

eventArgs
The event arguments to be converted.

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

Return Value

The 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).

Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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