Removes a menu item and icon from a third-party pop-up (shortcut) menu.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function RemoveItemFromThirdPartyPopupMenu( _
ByVal RegisterId As System.Integer, _
ByVal DocType As System.Integer, _
ByVal Item As System.String, _
ByVal IconIndex As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim RegisterId As System.Integer
Dim DocType As System.Integer
Dim Item As System.String
Dim IconIndex As System.Integer
Dim value As System.Boolean
value = instance.RemoveItemFromThirdPartyPopupMenu(RegisterId, DocType, Item, IconIndex) |
Parameters
- RegisterId
- ID of the shortcut menu from ISldWorks::RegisterThirdPartyPopupMenu
- DocType
- Document type where to display the shortcut menu, as defined in swDocumentTypes_e
- Item
- Name of the shortcut menu item
- IconIndex
- 1-based index of the icon (see Remarks)
Return Value
True if the shortcut menu item or icon is removed, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2010 FCS, Revision Number 18.0