Läs på engelska Redigera

Dela via


NSObject.RespondsToSelector(Selector) Method

Definition

Whether this object recognizes the specified selector.

C#
[Foundation.Export("respondsToSelector:")]
public virtual bool RespondsToSelector(ObjCRuntime.Selector sel);

Parameters

sel
Selector

Class representing the selector.

Returns

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

Implements

Attributes

Applies to

Produkt Versioner
Xamarin.Mac SDK 14