Method ToLower
ToLower(StringBuilder)
Ensures/converts the entire contents of the builder
to lowercase characters.
Declaration
public static StringBuilder ToLower(this StringBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
System.Text.StringBuilder | builder | The System.Text.StringBuilder containing the data to be converted. |
Returns
Type | Description |
---|---|
System.Text.StringBuilder | Returns |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if |
ToLower(StringBuilder, CultureInfo)
Ensures/converts the entire contents of the builder
to lowercase characters.
Declaration
public static StringBuilder ToLower(this StringBuilder builder, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Text.StringBuilder | builder | The System.Text.StringBuilder containing the data to be converted. |
System.Globalization.CultureInfo | culture | A System.Globalization.CultureInfo used to determine the case of individual characters. |
Returns
Type | Description |
---|---|
System.Text.StringBuilder | Returns |
Remarks
The culture
parameter is ignored when using the net standard library as net standard does not support the System.Char.ToLower(System.Char,System.Globalization.CultureInfo) overload.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if |