NSDictionary<TKey,TValue>.FromObjectsAndKeys Method

Definition

Overloads

FromObjectsAndKeys(TValue[], TKey[], nint)
FromObjectsAndKeys(Object[], Object[], nint)
FromObjectsAndKeys(Object[], Object[])
FromObjectsAndKeys(TKey[], TValue[])
Obsolete.
FromObjectsAndKeys(NSObject[], NSObject[], nint)

FromObjectsAndKeys(TValue[], TKey[], nint)

public static Foundation.NSDictionary<TKey,TValue> FromObjectsAndKeys (TValue[] objects, TKey[] keys, nint count);
static member FromObjectsAndKeys : 'Value[] * 'Key[] * nint -> Foundation.NSDictionary<'Key, 'Value (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject and 'Value : null and 'Value :> ObjCRuntime.INativeObject)>

Parameters

objects
TValue[]
keys
TKey[]
count
System.System.IntPtr System.nativeint

Returns

Applies to

FromObjectsAndKeys(Object[], Object[], nint)

public static Foundation.NSDictionary<TKey,TValue> FromObjectsAndKeys (object[] objects, object[] keys, nint count);
static member FromObjectsAndKeys : obj[] * obj[] * nint -> Foundation.NSDictionary<'Key, 'Value (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject and 'Value : null and 'Value :> ObjCRuntime.INativeObject)>

Parameters

objects
Object[]
keys
Object[]
count
System.System.IntPtr System.nativeint

Returns

Applies to

FromObjectsAndKeys(Object[], Object[])

public static Foundation.NSDictionary<TKey,TValue> FromObjectsAndKeys (object[] objects, object[] keys);
static member FromObjectsAndKeys : obj[] * obj[] -> Foundation.NSDictionary<'Key, 'Value (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject and 'Value : null and 'Value :> ObjCRuntime.INativeObject)>

Parameters

objects
Object[]
keys
Object[]

Returns

Applies to

FromObjectsAndKeys(TKey[], TValue[])

Caution

'TKey' and 'TValue' are inversed and won't work unless both types are identical. Use the generic overload that takes a count parameter instead.

[System.Obsolete("'TKey' and 'TValue' are inversed and won't work unless both types are identical. Use the generic overload that takes a count parameter instead.")]
public static Foundation.NSDictionary<TKey,TValue> FromObjectsAndKeys (TKey[] objects, TValue[] keys);
static member FromObjectsAndKeys : 'Key[] * 'Value[] -> Foundation.NSDictionary<'Key, 'Value (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject and 'Value : null and 'Value :> ObjCRuntime.INativeObject)>

Parameters

objects
TKey[]
keys
TValue[]

Returns

Attributes

Applies to

FromObjectsAndKeys(NSObject[], NSObject[], nint)

public static Foundation.NSDictionary<TKey,TValue> FromObjectsAndKeys (Foundation.NSObject[] objects, Foundation.NSObject[] keys, nint count);
static member FromObjectsAndKeys : Foundation.NSObject[] * Foundation.NSObject[] * nint -> Foundation.NSDictionary<'Key, 'Value (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject and 'Value : null and 'Value :> ObjCRuntime.INativeObject)>

Parameters

objects
NSObject[]
keys
NSObject[]
count
System.System.IntPtr System.nativeint

Returns

Applies to