Npgsql Api Docs |

# BitString.ToString Method

Returns a string representation for the Bitstring

#### Overload List

Returns a string representation for the Bitstring

> public override string ToString();

> public string ToString(IFormatProvider);

Returns a string representation of the BitString.

> public string ToString(string);

Returns the same string as ToString. formatProvider is ignored.

> public string ToString(string,IFormatProvider);

Interprets the bitstring as a series of bits in an encoded character string, encoded according to the Encoding passed, and returns that string. The bitstring must contain a whole number of octets(bytes) and also be valid according to the Encoding passed.

> public string ToString(Encoding);

#### See Also

BitString Class | NpgsqlTypes Namespace