MonobjcMonobjc Documented Class Library
PerformSelectorWithObject Method (aSelector, anObject)
NamespacesMonobjc.FoundationNSProxyPerformSelectorWithObject(IntPtr, Id)

Sends a message to the receiver with an object as the argument. (required)

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id PerformSelectorWithObject(
	IntPtr aSelector,
	Id anObject
)
Public Overridable Function PerformSelectorWithObject ( _
	aSelector As IntPtr, _
	anObject As Id _
) As Id
public:
virtual Id^ PerformSelectorWithObject(
	IntPtr aSelector, 
	Id^ anObject
)
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 sole 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)