NSOrderedSet.ToArray<T> 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.
Returns the contents of the ordered set as a strongly typed array.
public T[] ToArray<T>() where T : class, ObjCRuntime.INativeObject;
member this.ToArray : unit -> 'T[] (requires 'T : null and 'T :> ObjCRuntime.INativeObject)
Type Parameters
- T
The type of values in the array, must be a class that implements INativeObject.
Returns
An array of type T with the contents of the ordered set.