Share via


SqlColumnBinder.GetBoolean Method (DbDataReader, Boolean)

Retrieves the value of this column as a bool from the given reader.

An exception will be thrown if the column is null

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function GetBoolean ( _
    reader As DbDataReader, _
    nullValue As Boolean _
) As Boolean
public bool GetBoolean(
    DbDataReader reader,
    bool nullValue
)
public:
bool GetBoolean(
    DbDataReader^ reader, 
    bool nullValue
)
member GetBoolean : 
        reader:DbDataReader * 
        nullValue:bool -> bool
public function GetBoolean(
    reader : DbDataReader, 
    nullValue : boolean
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

SqlColumnBinder Class

GetBoolean Overload

Microsoft.TeamFoundation.Framework.Server Namespace