MonobjcMonobjc Documented Class Library
ArrayByApplyingSelectorWithObject Method (selector, argument)
NamespacesMonobjc.ScriptingBridgeSBElementArrayArrayByApplyingSelectorWithObject(IntPtr, Id)

Returns a array containing the results of sending the specified message to each object in the receiver.

Original signature is '- (NSArray *)arrayByApplyingSelector:(SEL)selector withObject:(id)argument'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSArray ArrayByApplyingSelectorWithObject(
	IntPtr selector,
	Id argument
)
Public Overridable Function ArrayByApplyingSelectorWithObject ( _
	selector As IntPtr, _
	argument As Id _
) As NSArray
public:
virtual NSArray^ ArrayByApplyingSelectorWithObject(
	IntPtr selector, 
	Id^ argument
)
Parameters
selector (IntPtr)
A selector identifying the message to be sent to each object in the array.
argument (Id)
The value for the parameter of the message identified by selector.
Return Value
A new array containing the results of sending the selector message to each object in the receiver, starting with the first object and continuing through the element array to the last object.
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.ScriptingBridge (Module: Monobjc.ScriptingBridge)