MonobjcMonobjc Documented Class Library
SendActionTo Method (theAction, theTarget)
NamespacesMonobjc.AppKitNSControlSendActionTo(IntPtr, Id)

Causes the specified action to be sent the target.

Original signature is '- (BOOL)sendAction:(SEL)theAction to:(id)theTarget'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool SendActionTo(
	IntPtr theAction,
	Id theTarget
Public Overridable Function SendActionTo ( _
	theAction As IntPtr, _
	theTarget As Id _
) As Boolean
virtual bool SendActionTo(
	IntPtr theAction, 
	Id^ theTarget
theAction (IntPtr)
The selector to invoke on the target. If the selector is NULL, no message is sent.
theTarget (Id)
The target object to receive the message. If the object is nil, the application searches the responder chain for an object capable of handling the message. For more information on dispatching actions, see the class description for NSActionCell.
Return Value
YES if the message was successfully sent; otherwise, NO.
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)