Partager via


SqlColumnBinder.GetInt32 Method (DbDataReader, 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 _
) As Integer
public int GetInt32(
    DbDataReader reader,
    int nullValue
)
public:
int GetInt32(
    DbDataReader^ reader, 
    int nullValue
)
member GetInt32 : 
        reader:DbDataReader * 
        nullValue:int -> int
public function GetInt32(
    reader : DbDataReader, 
    nullValue : int
) : int

Parameters

  • nullValue
    Type: System.Int32

    Value to return if DB column is null.

Return Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

SqlColumnBinder Class

GetInt32 Overload

Microsoft.TeamFoundation.Framework.Server Namespace