Retrieves the value of the bit at a specific position in the BitArray.
[Visual Basic] Public Function Get( _ ByVal index As Integer _ ) As Boolean [C#] public bool Get( int index ); [C++] public: bool Get( int index ); [JScript] public function Get( index : int ) : Boolean;
The value of the bit at position index.
Exception Type | Condition |
---|---|
ArgumentException | index is less than zero.
OR, index is greater than or equal to the number of elements in the BitArray. |
BitArray Class | BitArray Members | System.Collections Namespace