UITextView.ReplaceText(UITextRange, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将指定区域中的文本替换为提供的文本。
[Foundation.Export("replaceRange:withText:")]
public virtual void ReplaceText (UIKit.UITextRange range, string text);
abstract member ReplaceText : UIKit.UITextRange * string -> unit
override this.ReplaceText : UIKit.UITextRange * string -> unit
参数
- range
- UITextRange
要替换文本的区域。
- text
- String
替换文本。
实现
- 属性