Edit

Share via


UITextField.GetTextRange(UITextPosition, UITextPosition) Method

Definition

Returns the text range between two positions in a document.

[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

Parameters

fromPosition
UITextPosition

The start position.

toPosition
UITextPosition

The end position.

Returns

Implements

Attributes

Applies to