編輯

共用方式為


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

Text that is to be marked.

selectedRange
NSRange

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

Attributes

Applies to