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;

==== Visual Basic Script ====

bValue = ToolHandler.ShowInContextMenu
ToolHandler.ShowInContextMenu = bValue

==== C++ ====

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

===== See Also ===== IToolHandler