SqlColumnBinder.GetBoolean Method (DbDataReader)
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 _
) As Boolean
public bool GetBoolean(
DbDataReader reader
)
public:
bool GetBoolean(
DbDataReader^ reader
)
member GetBoolean :
reader:DbDataReader -> bool
public function GetBoolean(
reader : DbDataReader
) : boolean
Parameters
- reader
Type: System.Data.Common.DbDataReader
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.