scripting:api:tool-handler:show-in-context-menu

ShowInContextMenu

Property of IToolHandler

Returns “Show in Context Menu” flag

Read-Write Property of type VARIANT_BOOL

var bValue = ToolHandler.ShowInContextMenu;
ToolHandler.ShowInContextMenu = bValue;
bValue = ToolHandler.ShowInContextMenu
ToolHandler.ShowInContextMenu = bValue
VARIANT_BOOL bValue;
HRESULT hr = ToolHandler.get_ShowInContextMenu(&bValue);
hr = ToolHandler.put_ShowInContextMenu(bValue);