SqlColumnBinder.GetInt16 Method (DbDataReader)
Retrieves the value of this column as an Int16 from the given reader.
An exception will be thrown if the column is null or not found in the result set.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function GetInt16 ( _
reader As DbDataReader _
) As Short
public short GetInt16(
DbDataReader reader
)
public:
short GetInt16(
DbDataReader^ reader
)
member GetInt16 :
reader:DbDataReader -> int16
public function GetInt16(
reader : DbDataReader
) : short
Parameters
- reader
Type: System.Data.Common.DbDataReader
Return Value
Type: System.Int16
Returns Int16.
.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.