MonobjcMonobjc Documented Class Library
SendActionToFrom Method (anAction, aTarget, sender)
NamespacesMonobjc.AppKitNSApplicationSendActionToFrom(IntPtr, Id, Id)

Sends the given action message to the given target.

Original signature is '- (BOOL)sendAction:(SEL)anAction to:(id)aTarget from:(id)sender'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool SendActionToFrom(
	IntPtr anAction,
	Id aTarget,
	Id sender
)
Public Overridable Function SendActionToFrom ( _
	anAction As IntPtr, _
	aTarget As Id, _
	sender As Id _
) As Boolean
public:
virtual bool SendActionToFrom(
	IntPtr anAction, 
	Id^ aTarget, 
	Id^ sender
)
Parameters
anAction (IntPtr)
The action message you want to send.
aTarget (Id)
The target object that defines the specified action message.
sender (Id)
The object to pass for the action message’s parameter.
Return Value
YES if the action was successfully sent; otherwise NO. This method also returns NO if anAction is nil.
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)