UITextView.GetTextRange(UITextPosition, UITextPosition) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回文档中两个位置之间的文本范围。
[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
结束位置。
返回
实现
- 属性