NSMutable String. Low Level Set Attributes(IntPtr, NSRange) Attributed
String. Low Level Set Attributes(IntPtr, NSRange)
Low-level version of SetAttributes for high throughput attribute setting.
[Foundation.Export("setAttributes:range:")] public virtual void LowLevelSetAttributes (IntPtr dictionaryAttrsHandle, Foundation.NSRange range);
abstract member LowLevelSetAttributes : nativeint * Foundation.NSRange -> unit override this.LowLevelSetAttributes : nativeint * Foundation.NSRange -> unit
In general, you should use the LowLevelGetAttributes(nint, NSRange) methods, which will return a high-level NSDictionary.
This is the low-level interface to NSMutableAttributedString and in general is only used when you must subclass and override the behavior. You are expected to consume the provided IntPtr that represents a handle to an NSDictionary. This API is kept as a low-level API, since it is consumed by NSTextStorage which might call this method thousands of times per character insertion, so it is very important that this is kept as fast as possible.