NSMutableDictionary<TKey,TValue>.FromObjectsAndKeys 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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)>
參數
- objects
- TValue[]
- keys
- TKey[]
- count
- System.System.IntPtr System.nativeint
傳回
適用於
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)>
參數
- objects
- Object[]
- keys
- Object[]
- count
- System.System.IntPtr System.nativeint
傳回
適用於
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)>
參數
- objects
- Object[]
- keys
- Object[]
傳回
適用於
FromObjectsAndKeys(TKey[], TValue[])
警告
'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)>
參數
- objects
- TKey[]
- keys
- TValue[]
傳回
- 屬性
適用於
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)>
參數
- objects
- NSObject[]
- keys
- NSObject[]
- count
- System.System.IntPtr System.nativeint