Adds a new context-sensitive menu to the CommandManager.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddContextMenu( _
ByVal UserID As Integer, _
ByVal Title As String _
) As CommandGroup |
Visual Basic (Usage) | |
---|
Dim instance As ICommandManager
Dim UserID As Integer
Dim Title As String
Dim value As CommandGroup
value = instance.AddContextMenu(UserID, Title)
|
C# | |
---|
CommandGroup AddContextMenu(
int UserID,
string Title
) |
C++/CLI | |
---|
CommandGroup^ AddContextMenu(
& int UserID,
& String^ Title
) |
Parameters
- UserID
User-defined ID for this context-sensitive menu
- Title
- Name of the context-sensitive menu to add to the CommandManager
Return Value
Pointer to
ICommandGroup object
Remarks
See Also
Availability
SolidWorks 2006 FCS, Revision Number 14