Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ContextMenuItemAttribute.ContextMenuItemAttribute

ContextMenuItemAttribute(name: string, function: string)
ContextMenuItemAttribute(string name, string function);
def ContextMenuItemAttribute(name as string, function as string)

Parameters

nameThe name of the context menu item.
functionThe name of the function that should be called.

Description

Use this attribute to add a context menu to a field that calls a named method.