Returns an empty NSMutableString object with initial storage for a given number of characters.
Original signature is '+ (id)stringWithCapacity:(NSUInteger)capacity'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static Id StringWithCapacity( NSUInteger capacity )
Public Shared Function StringWithCapacity ( _ capacity As NSUInteger _ ) As Id
public: static Id^ StringWithCapacity( NSUInteger capacity )
Parameters
- capacity (NSUInteger)
- The number of characters the string is expected to initially contain.
Return Value
An empty NSMutableString object with initial storage for capacity characters.
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)