Removes the specified CommandGroup from the CommandManager.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function RemoveCommandGroup2( _
ByVal UserID As System.Integer, _
ByVal RuntimeOnly As System.Boolean _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICommandManager
Dim UserID As System.Integer
Dim RuntimeOnly As System.Boolean
Dim value As System.Integer
value = instance.RemoveCommandGroup2(UserID, RuntimeOnly) |
C++/CLI | |
---|
System.int RemoveCommandGroup2(
& System.int UserID,
& System.bool RuntimeOnly
) |
Parameters
- UserID
- User-defined ID of the CommandGroup to remove
- RuntimeOnly
- True to remove the CommandGroup , saving its toolbar information in the registry; false to remove both the CommandGroup 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