System::Text::StringBuilder::set_Capacity method

StringBuilder::set_Capacity method

Sets current capacity of string builder.

void System::Text::StringBuilder::set_Capacity(int capacity)
ParameterTypeDescription
capacityintMaximum number of characters that can be contained in the memory allocated by the current instance.

See Also