Edit

Share via


NSMutableDictionary<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.NSMutableDictionary<TKey,TValue> FromObjectsAndKeys (TValue[] objects, TKey[] keys, nint count);
static member FromObjectsAndKeys : 'Value[] * 'Key[] * nint -> Foundation.NSMutableDictionary<'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.NSMutableDictionary<TKey,TValue> FromObjectsAndKeys (object[] objects, object[] keys, nint count);
static member FromObjectsAndKeys : obj[] * obj[] * nint -> Foundation.NSMutableDictionary<'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.NSMutableDictionary<TKey,TValue> FromObjectsAndKeys (object[] objects, object[] keys);
static member FromObjectsAndKeys : obj[] * obj[] -> Foundation.NSMutableDictionary<'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.NSMutableDictionary<TKey,TValue> FromObjectsAndKeys (TKey[] objects, TValue[] keys);
static member FromObjectsAndKeys : 'Key[] * 'Value[] -> Foundation.NSMutableDictionary<'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.NSMutableDictionary<TKey,TValue> FromObjectsAndKeys (Foundation.NSObject[] objects, Foundation.NSObject[] keys, nint count);
static member FromObjectsAndKeys : Foundation.NSObject[] * Foundation.NSObject[] * nint -> Foundation.NSMutableDictionary<'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