MonobjcMonobjc Documented Class Library
InitWithDictionary Method (otherDictionary)
NamespacesMonobjc.FoundationNSDictionaryInitWithDictionary(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 virtual Id InitWithDictionary(
	NSDictionary otherDictionary
)
Public Overridable Function InitWithDictionary ( _
	otherDictionary As NSDictionary _
) As Id
public:
virtual Id^ InitWithDictionary(
	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)