Modifier

Partager via


NSMutableAttributedString.Replace Method

Definition

Overloads

Replace(NSRange, NSAttributedString)

Replaces the specified range of characters with an attributed string.

Replace(NSRange, String)

Replaces the specified range of characters with an attributed string.

Replace(NSRange, NSAttributedString)

Replaces the specified range of characters with an attributed string.

[Foundation.Export("replaceCharactersInRange:withAttributedString:")]
public virtual void Replace (Foundation.NSRange range, Foundation.NSAttributedString value);
abstract member Replace : Foundation.NSRange * Foundation.NSAttributedString -> unit
override this.Replace : Foundation.NSRange * Foundation.NSAttributedString -> unit

Parameters

range
NSRange

Range of characters that will be replaced.

value
NSAttributedString

Strings that will be inserted to replace the range of characters.

Attributes

Applies to

Replace(NSRange, String)

Replaces the specified range of characters with an attributed string.

[Foundation.Export("replaceCharactersInRange:withString:")]
public virtual void Replace (Foundation.NSRange range, string newValue);
abstract member Replace : Foundation.NSRange * string -> unit
override this.Replace : Foundation.NSRange * string -> unit

Parameters

range
NSRange

Range of characters that will be replaced.

newValue
String

Strings that will be inserted to replace the range of characters.

Attributes

Applies to