UITextViewDelegate_Extensions.ShouldChangeText 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
是否应在 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