NSMutableAttributedString.Insert(NSAttributedString, nint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Attributed string to insert.
- location
- System.System.IntPtr System.nativeint
Location where the string will be inserted.
- Attributes
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.