Mimer SQL Data Provider help
GetGuid Method




Mimer.Data.Client Namespace > MimerDataReader Class : GetGuid Method
The zero-based column ordinal position.
Gets the value of the specified column as a System.Guid (globally-unique identifier) object.
Syntax
'Declaration
 
Public Overrides NotOverridable Function GetGuid( _
   ByVal i As Integer _
) As Guid
public override Guid GetGuid( 
   int i
)
public function GetGuid( 
    i: Integer
): Guid; override; 
public override function GetGuid( 
   i : int
) : Guid;
public: Guid GetGuid( 
   int i
) override 

Parameters

i
The zero-based column ordinal position.

Return Value

The value of the column as a System.Guid object.
Exceptions
ExceptionDescription
The underlying SQL data type cannot be converted to System.Guid.
The MimerDataReader is not positioned on a row.
The column ordinal is outside the valid range.
Remarks
Supported SQL data types for the conversion are: BINARY(16) or a VARBINARY of length 16.

Use the IsDBNull method to check for database null value before calling this method.

Requirements

.NET Framework
Version 2.0 or later

See Also

Reference

MimerDataReader Class
MimerDataReader Members