MonobjcMonobjc Documented Class Library
InitWithObjectsForKeys Method (objects, keys)
NamespacesMonobjc.FoundationNSDictionaryInitWithObjectsForKeys(NSArray, NSArray)

Initializes a newly allocated dictionary with entries constructed from the contents of the objects and keys arrays.

Original signature is '- (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithObjectsForKeys(
	NSArray objects,
	NSArray keys
)
Public Overridable Function InitWithObjectsForKeys ( _
	objects As NSArray, _
	keys As NSArray _
) As Id
public:
virtual Id^ InitWithObjectsForKeys(
	NSArray^ objects, 
	NSArray^ keys
)
Parameters
objects (NSArray)
An array containing the values for the new dictionary.
keys (NSArray)
An array containing the keys for the new dictionary. Each key is copied (using copyWithZone:; keys must conform to the NSCopying protocol), and the copy is added to the new dictionary.
Return Value

[Missing <returns> documentation for "M:Monobjc.Foundation.NSDictionary.InitWithObjectsForKeys(Monobjc.Foundation.NSArray,Monobjc.Foundation.NSArray)"]

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)