'Declaration
Public Overloads Shared Function Create( _ ByVal name As System.String, _ ByVal ownerSchema As NSchema, _ ByVal eventArgsType As System.Type, _ ByVal canBubble As System.Boolean, _ ByVal canSink As System.Boolean _ ) As NEvent
'Usage
Dim name As System.String Dim ownerSchema As NSchema Dim eventArgsType As System.Type Dim canBubble As System.Boolean Dim canSink As System.Boolean Dim value As NEvent value = NEvent.Create(name, ownerSchema, eventArgsType, canBubble, canSink)
public static NEvent Create( System.string name, NSchema ownerSchema, System.Type eventArgsType, System.bool canBubble, System.bool canSink )
Parameters
- name
- event name
- ownerSchema
- schema which owns the event, or null if the event must be considered shared
- eventArgsType
- the type of the event arguments. Must be a NEventArgs derived type
- canBubble
- whether the event uses the bubbling routing strategy
- canSink
- whether the event uses the sinking routing strategy