NSArray.FromObjects Method

Definition

Overloads

FromObjects(Object[])

Creates an NSArray from a C# array of NSObjects.

FromObjects(nint, Object[])

FromObjects(Object[])

Creates an NSArray from a C# array of NSObjects.

public static Foundation.NSArray FromObjects (params object[] items);
static member FromObjects : obj[] -> Foundation.NSArray

Parameters

items
Object[]

Array of C# objects.

Returns

Remarks

The values will be boxed into NSObjects using FromObject(Object).

Applies to

FromObjects(nint, Object[])

public static Foundation.NSArray FromObjects (nint count, params object[] items);
static member FromObjects : nint * obj[] -> Foundation.NSArray

Parameters

count
System.System.IntPtr System.nativeint
items
Object[]

Returns

Applies to