NSAttributedString.LowLevelValue Property


Low-level version of the Value property, returns a handle to the underlying Objective-C NSString.

[get: Foundation.Export("string")]
public virtual IntPtr LowLevelValue { get; }
member this.LowLevelValue : nativeint

Property Value



In general, you should use the Value property, which will return a C# string.

This is the low-level interface to NSAttributedString and you are expected to return an IntPtr that represents a handle to an NSString. 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.

Applies to