Editar

Compartilhar via


UITextView.SetMarkedText(String, NSRange) Method

Definition

This method will replace any existing marked text the specified text and then selects it.

[Foundation.Export("setMarkedText:selectedRange:")]
public virtual void SetMarkedText (string markedText, Foundation.NSRange selectedRange);
abstract member SetMarkedText : string * Foundation.NSRange -> unit
override this.SetMarkedText : string * Foundation.NSRange -> unit

Parameters

markedText
String

The text to insert.

selectedRange
NSRange

The selected text within the markedText.

Implements

Attributes

Applies to