MonobjcMonobjc Documented Class Library
PerformSelectorWithObjectWithObject Method (aSelector, anObject, anotherObject)
NamespacesMonobjc.FoundationNSObjectPerformSelectorWithObjectWithObject(IntPtr, Id, Id)

Sends a message to the receiver with two objects as arguments. (required)

Original signature is '- (id)performSelector:(SEL)aSelector withObject:(id)anObject withObject:(id)anotherObject'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id PerformSelectorWithObjectWithObject(
	IntPtr aSelector,
	Id anObject,
	Id anotherObject
)
Public Overridable Function PerformSelectorWithObjectWithObject ( _
	aSelector As IntPtr, _
	anObject As Id, _
	anotherObject As Id _
) As Id
public:
virtual Id^ PerformSelectorWithObjectWithObject(
	IntPtr aSelector, 
	Id^ anObject, 
	Id^ anotherObject
)
Parameters
aSelector (IntPtr)
A selector identifying the message to send. If aSelector is NULL, an NSInvalidArgumentException is raised.
anObject (Id)
An object that is the first argument of the message.
anotherObject (Id)
An object that is the second argument of the message
Return Value
An object that is the result of the message.
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.Foundation (Module: Monobjc.Foundation)