Share via


NSArray.FromObjects Method

Definition

Overloads

Name Description
FromObjects(Object[])

Creates an NSArray from a C# array of NSObjects.

FromObjects(IntPtr, 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(IntPtr, Object[])

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

Parameters

count
IntPtr

nativeint

items
Object[]

Returns

Applies to