Udostępnij za pośrednictwem


Metoda SqlColumnBinder.GetInt32 — (DbDataReader, Int32)

Pobiera wartość tej kolumny jako int z danego czytnika.

Przestrzeń nazw:  Microsoft.TeamFoundation.Framework.Server
Zestaw:  Microsoft.TeamFoundation.Framework.Server (w Microsoft.TeamFoundation.Framework.Server.dll)

Składnia

'Deklaracja
Public Function GetInt32 ( _
    reader As DbDataReader, _
    nullValue As Integer _
) As Integer
public int GetInt32(
    DbDataReader reader,
    int nullValue
)

Parametry

  • nullValue
    Typ: System.Int32
    Wartość, aby powrócić, jeśli kolumna DB jest null.

Wartość zwracana

Typ: System.Int32
Returns Int32.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

SqlColumnBinder Klasa

Przeciążenie GetInt32

Przestrzeń nazw Microsoft.TeamFoundation.Framework.Server