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


CreateContext Method
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)

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