M-Files UI Extensibility Framework
RemoveCustomCommandFromMenu Method
ICommands Interface : RemoveCustomCommandFromMenu Method
The custom command id.
Menu location where the command is removed. Possible locations are enumerated.
Description
Removes a custom command from the specified menu location.
Syntax
Visual Basic
Public Sub RemoveCustomCommandFromMenu( _
   ByVal customCommand As Long, _
   ByVal location As MenuLocation _
) 
Parameters
customCommand
The custom command id.
location
ValueDescription
MenuLocation_ContextMenu_AfterWindowsCommands 
MenuLocation_ContextMenu_BeforeProperties 
MenuLocation_ContextMenu_BeforeWindowsCommands 
MenuLocation_ContextMenu_Bottom 
MenuLocation_ContextMenu_CollectionMembersSpecific 
MenuLocation_ContextMenu_DefaultCommand 
MenuLocation_ContextMenu_Deletion 
MenuLocation_ContextMenu_DocumentConversions 
MenuLocation_ContextMenu_Edit 
MenuLocation_ContextMenu_FileCreation 
MenuLocation_ContextMenu_FolderSpecific 
MenuLocation_ContextMenu_HistorySpecific 
MenuLocation_ContextMenu_Misc1_Bottom 
MenuLocation_ContextMenu_Misc1_Middle 
MenuLocation_ContextMenu_Misc1_Top 
MenuLocation_ContextMenu_Misc2_Bottom 
MenuLocation_ContextMenu_Misc2_Middle 
MenuLocation_ContextMenu_Misc2_Top 
MenuLocation_ContextMenu_ObjectCreation 
MenuLocation_ContextMenu_ObjectOperations 
MenuLocation_ContextMenu_PropertyFolderAvailable in M-Files 10.0.3911.3 and newer.
MenuLocation_ContextMenu_RelationshipsSpecific 
MenuLocation_ContextMenu_SingleFolderSpecific 
MenuLocation_ContextMenu_Top 
MenuLocation_ContextMenu_ViewVisibility 
Menu location where the command is removed. Possible locations are enumerated.
Remarks
Supported in M-Files 9.0.3372.6 and newer.
See Also

ICommands Interface  | ICommands Members