Freigeben über


IUITextInput.GetTextRange(UITextPosition, UITextPosition) Methode

Definition

Ruft einen angegebenen Textbereich ab.

[Foundation.Export("textRangeFromPosition:toPosition:")]
[Foundation.Preserve(Conditional=true)]
public UIKit.UITextRange GetTextRange(UIKit.UITextPosition fromPosition, UIKit.UITextPosition toPosition);
abstract member GetTextRange : UIKit.UITextPosition * UIKit.UITextPosition -> UIKit.UITextRange

Parameter

fromPosition
UITextPosition

Anfängliche Textposition.

toPosition
UITextPosition

Endgültige Textposition.

Gibt zurück

Definierter Textbereich.

Attribute

Gilt für: