Share via


UITextViewDelegate_Extensions.ShouldChangeText 方法

定义

是否应在 UITextView 中替换指定的文本。

public static bool ShouldChangeText (this UIKit.IUITextViewDelegate This, UIKit.UITextView textView, Foundation.NSRange range, string text);
static member ShouldChangeText : UIKit.IUITextViewDelegate * UIKit.UITextView * Foundation.NSRange * string -> bool

参数

This
IUITextViewDelegate

此扩展方法在其上运行的实例。

textView
UITextView
range
NSRange
text
String

返回

适用于