Share via


SqlColumnBinder.GetInt16 Method (DbDataReader, Int16, Int16)

Retrieves the value of this column as an Int16 from the given reader.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function GetInt16 ( _
    reader As DbDataReader, _
    nullValue As Short, _
    missingColumnValue As Short _
) As Short
public short GetInt16(
    DbDataReader reader,
    short nullValue,
    short missingColumnValue
)
public:
short GetInt16(
    DbDataReader^ reader, 
    short nullValue, 
    short missingColumnValue
)
member GetInt16 : 
        reader:DbDataReader * 
        nullValue:int16 * 
        missingColumnValue:int16 -> int16
public function GetInt16(
    reader : DbDataReader, 
    nullValue : short, 
    missingColumnValue : short
) : short

Parameters

  • nullValue
    Type: System.Int16

    Value to return if DB column is null.

  • missingColumnValue
    Type: System.Int16

    Value to return if DB column is not found.

Return Value

Type: System.Int16

.NET Framework Security

See Also

Reference

SqlColumnBinder Class

GetInt16 Overload

Microsoft.TeamFoundation.Framework.Server Namespace