Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NEvent Class / Create Method / Create(String,NSchema,Type,NEvent) 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
dom event for which the event is a sub event


In This Topic
    Create(String,NSchema,Type,NEvent) Method
    In This Topic
    Creates a new DOM event with the specified parameters, which belongs to the specified dom event category. The routing strategy is defined by the event category (e.g. all events in the same event category have the same routing strategy)
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Create( _
       ByVal name As System.String, _
       ByVal ownerSchema As NSchema, _
       ByVal eventArgsType As System.Type, _
       ByVal category As NEvent _
    ) As NEvent
    'Usage
     
    
    Dim name As System.String
    Dim ownerSchema As NSchema
    Dim eventArgsType As System.Type
    Dim category As NEvent
    Dim value As NEvent
     
    value = NEvent.Create(name, ownerSchema, eventArgsType, category)
    public static NEvent Create( 
       System.string name,
       NSchema ownerSchema,
       System.Type eventArgsType,
       NEvent category
    )

    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
    category
    dom event for which the event is a sub event
    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