Npgsql Api Docs |

# BitString Constructor (UInt32)

Creates a bitstring from an unsigned integer value. The string will be the shortest required to contain the integer (e.g. 1 bit for 0 or 1, 2 for 2 or 3, 3 for 4-7, and so on).

[Visual Basic]
Overloads Public Sub New( _
ByVal integer As UInt32 _
)
[C#]
public BitString(
uint integer
);

#### Parameters

integer
  The UInt32.

#### Remarks

This method is not CLS Compliant, and may not be available to some languages.

#### See Also

BitString Class | NpgsqlTypes Namespace | BitString Constructor Overload List