Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NCommandContext Class / CreateContext Method


In This Topic
    CreateContext Method
    In This Topic
    Creates a new NCommandContext object with its properties initialized.
    Syntax
    'Declaration
     
    
    Public Shared Function CreateContext( _
       ByVal text As System.String, _
       ByVal id As System.Integer, _
       ByVal images As System.Windows.Forms.ImageList, _
       ByVal imageIndex As System.Integer, _
       ByVal rangeID As System.Integer, _
       ByVal sc As NShortcut, _
       ByVal beginGroup As System.Boolean _
    ) As NCommandContext
    'Usage
     
    
    Dim text As System.String
    Dim id As System.Integer
    Dim images As System.Windows.Forms.ImageList
    Dim imageIndex As System.Integer
    Dim rangeID As System.Integer
    Dim sc As NShortcut
    Dim beginGroup As System.Boolean
    Dim value As NCommandContext
     
    value = NCommandContext.CreateContext(text, id, images, imageIndex, rangeID, sc, beginGroup)
    public static NCommandContext CreateContext( 
       System.string text,
       System.int id,
       System.Windows.Forms.ImageList images,
       System.int imageIndex,
       System.int rangeID,
       NShortcut sc,
       System.bool beginGroup
    )

    Parameters

    text
    id
    images
    imageIndex
    rangeID
    sc
    beginGroup
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also