MonobjcMonobjc Documented Class Library
InstancesRespondToSelector Method (aSelector)
NamespacesMonobjc.FoundationNSObjectInstancesRespondToSelector(IntPtr)

Returns a Boolean value that indicates whether instances of the receiver are capable of responding to a given selector.

Original signature is '+ (BOOL)instancesRespondToSelector:(SEL)aSelector'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static bool InstancesRespondToSelector(
	IntPtr aSelector
)
Public Shared Function InstancesRespondToSelector ( _
	aSelector As IntPtr _
) As Boolean
public:
static bool InstancesRespondToSelector(
	IntPtr aSelector
)
Parameters
aSelector (IntPtr)
A selector. See “Selectors” for a description of the SEL type.
Return Value
YES if instances of the receiver are capable of responding to aSelector messages, otherwise NO.
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)