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 Basic | Visual C++ |
public NSDictionary( IntPtr objects, IntPtr keys, NSUInteger count )
Public Sub New ( _ objects As IntPtr, _ keys As IntPtr, _ count As NSUInteger _ )
public: NSDictionary( 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
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)