Removes a menu item and icon from a third-party pop-up (shortcut) menu.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function RemoveItemFromThirdPartyPopupMenu( _
ByVal RegisterId As Integer, _
ByVal DocType As Integer, _
ByVal Item As String, _
ByVal IconIndex As Integer _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim RegisterId As Integer
Dim DocType As Integer
Dim Item As String
Dim IconIndex As Integer
Dim value As 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