Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (日本語) » SQL Anywhere サーバ - プログラミング » SQL Anywhere データ・アクセス API » SQL Anywhere .NET 2.0 API リファレンス » iAnywhere.Data.SQLAnywhere ネームスペース (.NET 2.0) » SADataReader クラス

 

GetInt16 メソッド

指定されたカラムの値を 16 ビット符号付き整数として返します。

構文
Visual Basic

Public Overrides Function GetInt16( _
   ByVal ordinal As Integer _
) As Short
C#

public override short GetInt16(
   int ordinal
);
パラメータ
  • ordinal   値の取得元のカラムを示す順序数。番号は 0 から始まります。

戻り値

指定されたカラムの値。

備考

変換は行われないため、取り出されるデータはすでに 16 ビット符号付き整数である必要があります。

参照