Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NCommand Class / Create Method / Create(Type,String,String,NShortcut) Method
type which owns the command
command name


In This Topic
    Create(Type,String,String,NShortcut) Method
    In This Topic
    Creates a DOM command with the specified parameters.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Create( _
       ByVal ownerType As System.Type, _
       ByVal name As System.String, _
       ByVal text As System.String, _
       ByVal shortcut As NShortcut _
    ) As NCommand
    'Usage
     
    
    Dim ownerType As System.Type
    Dim name As System.String
    Dim text As System.String
    Dim shortcut As NShortcut
    Dim value As NCommand
     
    value = NCommand.Create(ownerType, name, text, shortcut)
    public static NCommand Create( 
       System.Type ownerType,
       System.string name,
       System.string text,
       NShortcut shortcut
    )

    Parameters

    ownerType
    type which owns the command
    name
    command name
    text
    shortcut
    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