編輯

共用方式為


NSAttributedString.LowLevelValue Property

Definition

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

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

Property Value

IntPtr

nativeint

Attributes

Remarks

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