NSMutableAttributedString.Insert(NSAttributedString, nint) NSMutableAttributedString.Insert(NSAttributedString, nint) Method

Definition

Inserts an attributed string into the current string.

[Foundation.Export("insertAttributedString:atIndex:")]
public virtual void Insert (Foundation.NSAttributedString attrString, nint location);
abstract member Insert : Foundation.NSAttributedString * nint -> unit
override this.Insert : Foundation.NSAttributedString * nint -> unit

Parameters

attrString
NSAttributedString NSAttributedString

Attributed string to insert.

location
nint nint

Location where the string will be inserted.

Remarks

Any attributes that spanned the insertion point will be expanded, so they will continue to cover both the original text as well as the new text.

Applies to