MonobjcMonobjc Documented Class Library
NSDictionary Constructor (otherDictionary)
NamespacesMonobjc.FoundationNSDictionaryNSDictionary(NSDictionary)

Initializes a newly allocated dictionary by placing in it the keys and values contained in another given dictionary.

Original signature is '- (id)initWithDictionary:(NSDictionary *)otherDictionary'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSDictionary(
	NSDictionary otherDictionary
)
Public Sub New ( _
	otherDictionary As NSDictionary _
)
public:
NSDictionary(
	NSDictionary^ otherDictionary
)
Parameters
otherDictionary (NSDictionary)
A dictionary containing the keys and values with which to initialize the new dictionary.
Return Value
An initialized dictionary—which might be different than the original receiver—containing the keys and values found in otherDictionary.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)