Removes a toolbar created with
ISldWorks::AddToolbar4.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function RemoveToolbar2( _
ByVal Cookie As System.Integer, _
ByVal ToolbarId As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim Cookie As System.Integer
Dim ToolbarId As System.Integer
Dim value As System.Boolean
value = instance.RemoveToolbar2(Cookie, ToolbarId) |
C++/CLI | |
---|
System.bool RemoveToolbar2(
& System.int Cookie,
& System.int ToolbarId
) |
Parameters
- Cookie
Resource ID of the toolbar; this is the same cookie that you specified in ISwAddin::ConnectToSW
- ToolbarId
Toolbar ID
Return Value
True if the toolbar is removed, false if not
Remarks
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0