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