Returns a counted set object initialized with enough memory to hold a given number of objects.
Original signature is '- (id)initWithCapacity:(NSUInteger)numItems'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public NSCountedSet( NSUInteger numItems )
Public Sub New ( _ numItems As NSUInteger _ )
public: NSCountedSet( NSUInteger numItems )

- numItems (NSUInteger)
- The initial capacity of the new counted set.

A counted set object initialized with enough memory to hold numItems objects

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)