Share via


UISearchBarDelegate_Extensions.ShouldChangeTextInRange Method

Definition

Whether the text in the specified range should be replaced with the specified text.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static bool ShouldChangeTextInRange(this UIKit.IUISearchBarDelegate This, UIKit.UISearchBar searchBar, Foundation.NSRange range, string text);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ShouldChangeTextInRange : UIKit.IUISearchBarDelegate * UIKit.UISearchBar * Foundation.NSRange * string -> bool

Parameters

searchBar
UISearchBar
range
NSRange
text
String

Returns

Attributes

Applies to