NSObject.RespondsToSelector(Selector) Method

Definition

Whether this object recognizes the specified selector.

[Foundation.Export("respondsToSelector:")]
public virtual bool RespondsToSelector (ObjCRuntime.Selector sel);
abstract member RespondsToSelector : ObjCRuntime.Selector -> bool
override this.RespondsToSelector : ObjCRuntime.Selector -> bool

Parameters

sel
Selector

Class representing the selector.

Returns

This returns true if the object responds to the selector, false othwerise.

Implements

Attributes

Applies to