Edit

Share via


NSArray.FromNSObjects Method

Definition

Overloads

FromNSObjects(Int32, INativeObject[])
FromNSObjects(Int32, NSObject[])

Creates an NSArray from a C# array of NSObjects.

FromNSObjects(NSObject[])

Creates an NSArray from a C# array of NSObjects.

FromNSObjects(INativeObject[])
FromNSObjects<T>(T[])
FromNSObjects<T>(Func<T,NSObject>, T[])
FromNSObjects<T>(Int32, T[])

FromNSObjects(Int32, INativeObject[])

public static Foundation.NSArray FromNSObjects (int count, params ObjCRuntime.INativeObject[] items);
static member FromNSObjects : int * ObjCRuntime.INativeObject[] -> Foundation.NSArray

Parameters

count
Int32
items
INativeObject[]

Returns

Applies to

FromNSObjects(Int32, NSObject[])

Creates an NSArray from a C# array of NSObjects.

public static Foundation.NSArray FromNSObjects (int count, params Foundation.NSObject[] items);
static member FromNSObjects : int * Foundation.NSObject[] -> Foundation.NSArray

Parameters

count
Int32

Number of items to copy from the items array.

items
NSObject[]

Strongly typed array of NSObjects.

Returns

Applies to

FromNSObjects(NSObject[])

Creates an NSArray from a C# array of NSObjects.

public static Foundation.NSArray FromNSObjects (params Foundation.NSObject[] items);
static member FromNSObjects : Foundation.NSObject[] -> Foundation.NSArray

Parameters

items
NSObject[]

Strongly typed array of NSObjects.

Returns

Applies to

FromNSObjects(INativeObject[])

public static Foundation.NSArray FromNSObjects (params ObjCRuntime.INativeObject[] items);
static member FromNSObjects : ObjCRuntime.INativeObject[] -> Foundation.NSArray

Parameters

items
INativeObject[]

Returns

Applies to

FromNSObjects<T>(T[])

public static Foundation.NSArray FromNSObjects<T> (params T[] items) where T : class, ObjCRuntime.INativeObject;
static member FromNSObjects : 'T[] -> Foundation.NSArray (requires 'T : null and 'T :> ObjCRuntime.INativeObject)

Type Parameters

T

Parameters

items
T[]

Returns

Applies to

FromNSObjects<T>(Func<T,NSObject>, T[])

public static Foundation.NSArray FromNSObjects<T> (Func<T,Foundation.NSObject> nsobjectificator, params T[] items);
static member FromNSObjects : Func<'T, Foundation.NSObject> * 'T[] -> Foundation.NSArray

Type Parameters

T

Parameters

nsobjectificator
Func<T,NSObject>
items
T[]

Returns

Applies to

FromNSObjects<T>(Int32, T[])

public static Foundation.NSArray FromNSObjects<T> (int count, params T[] items) where T : class, ObjCRuntime.INativeObject;
static member FromNSObjects : int * 'T[] -> Foundation.NSArray (requires 'T : null and 'T :> ObjCRuntime.INativeObject)

Type Parameters

T

Parameters

count
Int32
items
T[]

Returns

Applies to