UITextView.GetTextRange(UITextPosition, UITextPosition) 方法

定义

返回文档中两个位置之间的文本范围。

[Foundation.Export("textRangeFromPosition:toPosition:")]
public virtual UIKit.UITextRange GetTextRange (UIKit.UITextPosition fromPosition, UIKit.UITextPosition toPosition);
abstract member GetTextRange : UIKit.UITextPosition * UIKit.UITextPosition -> UIKit.UITextRange
override this.GetTextRange : UIKit.UITextPosition * UIKit.UITextPosition -> UIKit.UITextRange

参数

fromPosition
UITextPosition

开始位置。

toPosition
UITextPosition

结束位置。

返回

实现

属性

适用于