Creates and returns a mutable set with a given initial capacity.
Original signature is '+ (id)setWithCapacity:(NSUInteger)numItems'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public static Id SetWithCapacity( NSUInteger numItems )
Public Shared Function SetWithCapacity ( _ numItems As NSUInteger _ ) As Id
public: static Id^ SetWithCapacity( NSUInteger numItems )

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

A mutable set with initial capacity to hold numItems members.

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