MonobjcMonobjc Documented Class Library
InitWithObjectsForKeysCount Method (objects, keys, count)
NamespacesMonobjc.FoundationNSDictionaryInitWithObjectsForKeysCount(IntPtr, IntPtr, NSUInteger)

Initializes a newly allocated dictionary with count entries.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithObjectsForKeysCount(
	IntPtr objects,
	IntPtr keys,
	NSUInteger count
)
Public Overridable Function InitWithObjectsForKeysCount ( _
	objects As IntPtr, _
	keys As IntPtr, _
	count As NSUInteger _
) As Id
public:
virtual Id^ InitWithObjectsForKeysCount(
	IntPtr objects, 
	IntPtr keys, 
	NSUInteger count
)
Parameters
objects (IntPtr)
A C array of values for the new dictionary.
keys (IntPtr)
A C array of 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.
count (NSUInteger)
The number of elements to use from the keys and objects arrays. count must not exceed the number of elements in objects or keys.
Return Value

[Missing <returns> documentation for "M:Monobjc.Foundation.NSDictionary.InitWithObjectsForKeysCount(System.IntPtr,System.IntPtr,Monobjc.Foundation.NSUInteger)"]

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)