Creates and returns a mutable dictionary, initially giving it enough allocated memory to hold a given number of entries.
Original signature is '+ (id)dictionaryWithCapacity:(NSUInteger)numItems'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static Id DictionaryWithCapacity( NSUInteger numItems )
Public Shared Function DictionaryWithCapacity ( _ numItems As NSUInteger _ ) As Id
public: static Id^ DictionaryWithCapacity( NSUInteger numItems )
Parameters
- numItems (NSUInteger)
- The initial capacity of the new dictionary.
Return Value
A new mutable dictionary with enough allocated memory to hold numItems entries.
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)