NSArray.StringArrayFromHandle(NativeHandle) 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.
Caution
Use of 'CFArray.StringArrayFromHandle' offers better performance.
Caution
Use 'CFArray.StringArrayFromHandle' instead.
Creates a string array from a handle to a native NSArray object.
[System.Obsolete("Use of 'CFArray.StringArrayFromHandle' offers better performance.")]
public static string[] StringArrayFromHandle(ObjCRuntime.NativeHandle handle);
[System.Obsolete("Use 'CFArray.StringArrayFromHandle' instead.")]
public static string?[]? StringArrayFromHandle(ObjCRuntime.NativeHandle handle);
[<System.Obsolete("Use of 'CFArray.StringArrayFromHandle' offers better performance.")>]
static member StringArrayFromHandle : ObjCRuntime.NativeHandle -> string[]
[<System.Obsolete("Use 'CFArray.StringArrayFromHandle' instead.")>]
static member StringArrayFromHandle : ObjCRuntime.NativeHandle -> string[]
Parameters
- handle
- NativeHandle
Pointer (handle) to the unmanaged object.
Returns
A string array, or null if handle is Zero.
- Attributes
Remarks
Call StringArrayFromHandle(NativeHandle) instead for better performance.