'Declaration Public MustOverride Function CreateEvent( _ ByVal typeOfEvent As Type, _ ByVal initParams() As Object _ ) As EventArgs
public abstract EventArgs CreateEvent( Type typeOfEvent, object[] initParams )
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.
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