SqlColumnBinder.GetBoolean Method (DbDataReader, Boolean, Boolean%)
Retrieves the value of this column as a bool from the given reader.
Sets the output parameter to true if the value was 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, _
<OutAttribute> ByRef isNull As Boolean _
) As Boolean
public bool GetBoolean(
DbDataReader reader,
bool nullValue,
out bool isNull
)
public:
bool GetBoolean(
DbDataReader^ reader,
bool nullValue,
[OutAttribute] bool% isNull
)
member GetBoolean :
reader:DbDataReader *
nullValue:bool *
isNull:bool byref -> bool
public function GetBoolean(
reader : DbDataReader,
nullValue : boolean,
isNull : boolean
) : boolean
Parameters
- reader
Type: System.Data.Common.DbDataReader
- nullValue
Type: System.Boolean
- isNull
Type: System.Boolean%
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.