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