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
- reader
Type: System.Data.Common.DbDataReader
nullValue
Type: System.Int32Value to return if DB column is null.
Return Value
Type: System.Int32
Returns 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.