System::Text::StringBuilder::ToString method

StringBuilder::ToString() const method

Gets string currently contained in builder.

String System::Text::StringBuilder::ToString() const override

ReturnValue

String representation of builder’s data.

See Also

StringBuilder::ToString(int, int) const method

Gets substring currently contained in builder.

String System::Text::StringBuilder::ToString(int startIndex, int length) const
ParameterTypeDescription
startIndexintExtraction range beginning index.
lengthintNumber of characters to extract.

ReturnValue

String representation of builder’s data subrange.

See Also