MonobjcMonobjc Documented Class Library
MethodSignatureForSelector Method (aSelector)
NamespacesMonobjc.FoundationNSObjectMethodSignatureForSelector(IntPtr)

Returns an NSMethodSignature object that contains a description of the method identified by a given selector.

Original signature is '- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSMethodSignature MethodSignatureForSelector(
	IntPtr aSelector
)
Public Overridable Function MethodSignatureForSelector ( _
	aSelector As IntPtr _
) As NSMethodSignature
public:
virtual NSMethodSignature^ MethodSignatureForSelector(
	IntPtr aSelector
)
Parameters
aSelector (IntPtr)
A selector that identifies the method for which to return the implementation address. When the receiver is an instance, aSelector should identify an instance method; when the receiver is a class, it should identify a class method.
Return Value
An NSMethodSignature object that contains a description of the method identified by aSelector, or nil if the method can’t be found.
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)