MonobjcMonobjc Documented Class Library
PerformSelector Method (aSelector)
NamespacesMonobjc.FoundationINSObjectPerformSelector(IntPtr)

Sends a specified message to the receiver and returns the result of the message. (required)

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
Id PerformSelector(
	IntPtr aSelector
)
Function PerformSelector ( _
	aSelector As IntPtr _
) As Id
Id^ PerformSelector(
	IntPtr aSelector
)
Parameters
aSelector (IntPtr)
A selector identifying the message to send. If aSelector is NULL, an NSInvalidArgumentException is raised.
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)