SqlColumnBinder.GetInt32 Method (DbDataReader, Int32, Int32)
Retrieves the value of this column as an int from the given reader.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function GetInt32 ( _
reader As DbDataReader, _
nullValue As Integer, _
missingColumnValue As Integer _
) As Integer
public int GetInt32(
DbDataReader reader,
int nullValue,
int missingColumnValue
)
public:
int GetInt32(
DbDataReader^ reader,
int nullValue,
int missingColumnValue
)
member GetInt32 :
reader:DbDataReader *
nullValue:int *
missingColumnValue:int -> int
public function GetInt32(
reader : DbDataReader,
nullValue : int,
missingColumnValue : int
) : int
Parameters
- reader
Type: System.Data.Common.DbDataReader
nullValue
Type: System.Int32Value to return if DB column is null.
missingColumnValue
Type: System.Int32Value to return if DB column not found.
Return Value
Type: System.Int32
.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.