Edit

Share via


NSDictionary.FromObjectAndKey(NSObject, NSObject) Method

Definition

Factory method to create a new NSDictionary initialized with the specified obj (value) and key.

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

Parameters

obj
NSObject
key
NSObject

Returns

Attributes

Applies to