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

  • nullValue
    Type: System.Int32

    Value to return if DB column is null.

  • missingColumnValue
    Type: System.Int32

    Value to return if DB column not found.

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

SqlColumnBinder Class

GetInt32 Overload

Microsoft.TeamFoundation.Framework.Server Namespace