Share via


NSArray<TKey>.FromNSObjects 方法

定义

重载

FromNSObjects(TKey[])
FromNSObjects(Int32, TKey[])

FromNSObjects(TKey[])

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

参数

items
TKey[]

返回

适用于

FromNSObjects(Int32, TKey[])

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

参数

count
Int32
items
TKey[]

返回

适用于