Removes the specified command group from the CommandManager.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function RemoveCommandGroup2( _
ByVal UserID As Integer, _
ByVal RuntimeOnly As Boolean _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICommandManager
Dim UserID As Integer
Dim RuntimeOnly As Boolean
Dim value As Integer
value = instance.RemoveCommandGroup2(UserID, RuntimeOnly)
|
Parameters
- UserID
- User-defined ID of the command group to remove
- RuntimeOnly
- True to remove the command group, saving its toolbar information in the registry; false to remove both the command group and its toolbar information in the registry
Return Value
Error code as defined in
swRemoveCommandGroupErrors
Remarks
See Also
Availability
SolidWorks 2011 FCS, Revision Number 19.0