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 Programming » UltraLite .NET 2.0 API reference » ULDataReader class

 

GetGuid method

Returns the value for the specified column as a UUID (System.Guid).

Syntax
Visual Basic
Public Overrides Function GetGuid( _
   ByVal columnID As Integer _
) As Guid
C#
public override Guid GetGuid(
   int columnID
);
Parameters
  • columnID   The ID number of the column. The value must be in the range [0,ULDataReader.FieldCount-1]. The first column in the cursor has an ID value of zero.

Return value

The column value as a Guid.

Remarks

This method is only valid for columns of type ULDbType.UniqueIdentifier or for columns of type ULDbType.Binary with length 16.

See also