MonobjcMonobjc Documented Class Library
PerformSelector Method (aSelector)
NamespacesMonobjc.FoundationNSObjectPerformSelector(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++
public virtual Id PerformSelector(
	IntPtr aSelector
)
Public Overridable Function PerformSelector ( _
	aSelector As IntPtr _
) As Id
public:
virtual 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)