Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NEvent Class / Create Method / Create(String,NSchema,Type) 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


In This Topic
    Create(String,NSchema,Type) Method
    In This Topic
    Creates a new event with the specified parameters. This method creates a direct event, which cannot bubble and sink.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Create( _
       ByVal name As System.String, _
       ByVal ownerSchema As NSchema, _
       ByVal eventArgsType As System.Type _
    ) As NEvent
    'Usage
     
    
    Dim name As System.String
    Dim ownerSchema As NSchema
    Dim eventArgsType As System.Type
    Dim value As NEvent
     
    value = NEvent.Create(name, ownerSchema, eventArgsType)
    public static NEvent Create( 
       System.string name,
       NSchema ownerSchema,
       System.Type eventArgsType
    )

    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
    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