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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.OperationModel Namespace > EasyUADataChangeNotificationEventArgs Class : Explicit Type Conversion Operator
The event arguments to be converted.
Converts event arguments to a corresponding result object, UAAttributeDataResult.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Operator Narrowing CType( _
   ByVal eventArgs As EasyUADataChangeNotificationEventArgs _
) As UAAttributeDataResult
'Usage
 
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public UAAttributeDataResult operator explicit( 
   EasyUADataChangeNotificationEventArgs eventArgs
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
UAAttributeDataResult^ operator explicit( 
   EasyUADataChangeNotificationEventArgs^ eventArgs
)

Parameters

eventArgs
The event arguments to be converted.

Return Value

The result object that corresponds to the event arguments. null if the event arguments passed in were null.
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