NSArray<TKey>.ToArray 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.
Converts this NSArray<TKey> to a strongly-typed C# array, where NSNull elements are converted to null.
public TKey[] ToArray();
public TKey?[] ToArray();
override this.ToArray : unit -> 'Key[]
Returns
A C# array of TKey elements. Elements that are NSNull in the source array are represented as null.