MonobjcMonobjc Documented Class Library
NSMutableString Constructor (capacity)

Returns an NSMutableString object initialized with initial storage for a given number of characters,

Original signature is '- (id)initWithCapacity:(NSUInteger)capacity'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSMutableString(
	NSUInteger capacity
Public Sub New ( _
	capacity As NSUInteger _
	NSUInteger capacity
capacity (NSUInteger)
The number of characters the string is expected to initially contain.
Return Value
An initialized NSMutableString object with initial storage for capacity characters. The returned object might be different than the original receiver.
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)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)