Connectivity Software User's Guide and Reference
Explicit Type Conversion Operator (EasyUADataChangeNotificationEventArgs<TValue>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Generic Namespace > EasyUADataChangeNotificationEventArgs<TValue> Class : Explicit Type Conversion Operator
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, UAAttributeData<TValue>.
Syntax
'Declaration
 
<JetBrains.Annotations.CanBeNullAttribute()>
<JetBrains.Annotations.ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Operator Narrowing CType( _
   ByVal eventArgs As EasyUADataChangeNotificationEventArgs(Of TValue) _
) As UAAttributeDataResult(Of TValue)
'Usage
 
[JetBrains.Annotations.CanBeNull()]
[JetBrains.Annotations.ContractAnnotation("null => null; notnull => notnull")]
public UAAttributeDataResult<TValue> operator explicit( 
   EasyUADataChangeNotificationEventArgs<TValue> eventArgs
)
[JetBrains.Annotations.CanBeNull()]
[JetBrains.Annotations.ContractAnnotation("null => null; notnull => notnull")]
public:
UAAttributeDataResult<TValue^>^ operator explicit( 
   EasyUADataChangeNotificationEventArgs<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