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

SQL Anywhere 11.0.1 (中文) » UltraLite - .NET 编程 » UltraLite .NET 2.0 API 参考 » ULDataReader 类

 

GetGuid 方法

以 UUID (System.Guid) 形式返回指定列的值。

语法
Visual Basic
Public Overrides Function GetGuid( _
   ByVal columnID As Integer _
) As Guid
C#
public override Guid GetGuid(
   int columnID
);
参数
  • columnID   列的 ID 号。值必须在 [0,ULDataReader.FieldCount-1] 范围内。游标中第一列的 ID 值为 0。

返回值

Guid 形式的列值。

注释

此方法仅对 ULDbType.UniqueIdentifier 类型的列或长度为 16 的 ULDbType.Binary 类型的列有效。

另请参见