IUITextInput.TextInRange(UITextRange) 方法

定义

获取特定范围内指定的所有文本。

[Foundation.Export("textInRange:")]
[Foundation.Preserve(Conditional=true)]
public string TextInRange(UIKit.UITextRange range);
abstract member TextInRange : UIKit.UITextRange -> string

参数

range
UITextRange

一个 UITextRange 对象,指示文档的文本范围。

返回

位于特定指定范围内的文档子字符串。

属性

适用于