MonobjcMonobjc Documented Class Library
PerformActionForItemAtIndex Method (index)
NamespacesMonobjc.AppKitNSMenuPerformActionForItemAtIndex(NSInteger)

Causes the application to send the action message of a specified menu item to its target.

Original signature is '- (void)performActionForItemAtIndex:(NSInteger)index'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void PerformActionForItemAtIndex(
	NSInteger index
)
Public Overridable Sub PerformActionForItemAtIndex ( _
	index As NSInteger _
)
public:
virtual void PerformActionForItemAtIndex(
	NSInteger index
)
Parameters
index (NSInteger)
The integer index of a menu item.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)