Version

CreateEvent Method

Creates an instance of event arguments pertaining to UltraWebToolbar.
Syntax
'Declaration
 
Public MustOverride Function CreateEvent( _
   ByVal typeOfEvent As Type, _
   ByVal initParams() As Object _
) As EventArgs
public abstract EventArgs CreateEvent( 
   Type typeOfEvent,
   object[] initParams
)

Parameters

typeOfEvent
The Type of the event arguments requested.
initParams
An array of arguments supplied with which to initialize properties of the requested EventArgs instance. The number, sequence and type these arguments is dependent upon the applicable constructor offered by typeOfEvent.

Return Value

An instance of the event arguments object, or null (Nothing in Visual Basic .NET) if creation of the requested event type is not supported.
Remarks

When the return value of this method is non-null, the caller can safely typecase the object reference into an EventArgs subclass of the requested typeOfEvent.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also