NSMutableDictionary.FromObjectAndKey(NSObject, NSObject) 方法

定义

用于创建新的可变字典的工厂方法,使用指定的 obj (值) 和键进行初始化。

[Foundation.Export("dictionaryWithObject:forKey:")]
public static Foundation.NSMutableDictionary FromObjectAndKey (Foundation.NSObject obj, Foundation.NSObject key);
static member FromObjectAndKey : Foundation.NSObject * Foundation.NSObject -> Foundation.NSMutableDictionary

参数

obj
NSObject
key
NSObject

返回

属性

适用于