編輯

共用方式為


UITextField.ReplaceText(UITextRange, String) Method

Definition

Replaces text in the specified range with the text provided.

[Foundation.Export("replaceRange:withText:")]
public virtual void ReplaceText (UIKit.UITextRange range, string text);
abstract member ReplaceText : UIKit.UITextRange * string -> unit
override this.ReplaceText : UIKit.UITextRange * string -> unit

Parameters

range
UITextRange

The range to replace text.

text
String

The replacement text.

Implements

Attributes

Applies to