共用方式為


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

結束位置。

傳回

實作

屬性

適用於