Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NEvent Class / Create Method / Create(String,NSchema,Type,Boolean,Boolean) Method
event name
schema which owns the event, or null if the event must be considered shared
the type of the event arguments. Must be a NEventArgs derived type
whether the event uses the bubbling routing strategy
whether the event uses the sinking routing strategy


In This Topic
    Create(String,NSchema,Type,Boolean,Boolean) Method
    In This Topic
    Creates a new DOM event with the specified parameters.
    Syntax
    '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
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also