NSMutableAttributedString.Replace NSMutableAttributedString.Replace Method

Definition

Overloads

Replace(NSRange, NSAttributedString) Replace(NSRange, NSAttributedString)

Replaces the specified range of characters with an attributed string.

Replace(NSRange, String) Replace(NSRange, String)

Replaces the specified range of characters with an attributed string.

Replace(NSRange, NSAttributedString) 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 NSRange

Range of characters that will be replaced.

value
NSAttributedString NSAttributedString

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

Replace(NSRange, String) 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 NSRange

Range of characters that will be replaced.

newValue
String String

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

Applies to