IUITextInput.SetMarkedText(String, NSRange) IUITextInput.SetMarkedText(String, NSRange) Method

Definition

Sets the marked text and marks it as the current selection.

[Foundation.Export("setMarkedText:selectedRange:")]
[Foundation.Preserve(Conditional=true)]
public void SetMarkedText (string markedText, Foundation.NSRange selectedRange);
abstract member SetMarkedText : string * Foundation.NSRange -> unit

Parameters

markedText
String String

Text that is to be marked.

selectedRange
NSRange NSRange

An NSRange object indicating the range of a document's text.

Applies to