Npgsql Api Docs |

# BitString Structure

Implements a bit string; a collection of zero or more bits which can each be 1 or 0.

BitString's behave as a list of bools, though like most strings and unlike most collections the position tends to be of as much significance as the value.

BitStrings are often used as masks, and are commonly cast to and from other values.

For a list of all members of this type, see BitString Members.

System.Object
System.ValueType
NpgsqlTypes.BitString

[Visual Basic]
Public Structure BitString
Implements IComparable, IEquatable`1([NpgsqlTypes.BitString, Npgsql, Version=2.0.11.92, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7)), ICollection`1([System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)), IConvertible, IEnumerable, IComparable`1([NpgsqlTypes.BitString, Npgsql, Version=2.0.11.92, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7)), IFormattable, IEnumerable`1([System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)), IList`1([System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089))
[C#]
public struct BitString : IComparable, 92, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7]], 0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], IConvertible, IEnumerable, 92, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7]], IFormattable, 0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], 0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

#### Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

#### Requirements

Namespace: NpgsqlTypes

Assembly: Npgsql (in )

#### See Also

BitString Members | NpgsqlTypes Namespace