Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

ContextMenuItemAttribute.ContextMenuItemAttribute

public function ContextMenuItemAttribute(name: string, function: string)

Parameters

name The name of the context menu item.
function The 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.