ToString()

StringBuilder::ToString() const method

Gets string currently contained in builder.

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

Return Value

String representation of builder’s data.

StringBuilder::ToString(int, int) const method

Gets substring currently contained in builder.

String System::Text::StringBuilder::ToString(int startIndex, int length) const

Arguments

ParameterTypeDescription
startIndexintExtraction range beginning index.
lengthintNumber of characters to extract.

Return Value

String representation of builder’s data subrange.

See Also