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 类

 

GetUInt16 方法

以 16 位无符号整数形式返回指定列的值。

语法
Visual Basic

Public Function GetUInt16( _
   ByVal ordinal As Integer _
) As UInt16
C#

public ushort GetUInt16(
   int ordinal
);
参数
  • ordinal   表示获取值的来源列的顺序号。编号从零开始。

返回值

指定列的值。

注释

不会进行任何转换,因此检索的数据必须已经是 16 位无符号整数。

另请参见