Share via


SqlCeResultSet.GetSqlGuid Method

Returns the value of the column at the specified index as type SqlGuid.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Overrides Function GetSqlGuid ( _
    ordinal As Integer _
) As SqlGuid
'Usage
Dim instance As SqlCeResultSet
Dim ordinal As Integer
Dim returnValue As SqlGuid

returnValue = instance.GetSqlGuid(ordinal)
public override SqlGuid GetSqlGuid(
    int ordinal
)
public:
virtual SqlGuid GetSqlGuid(
    int ordinal
) override
abstract GetSqlGuid : 
        ordinal:int -> SqlGuid 
override GetSqlGuid : 
        ordinal:int -> SqlGuid 
public override function GetSqlGuid(
    ordinal : int
) : SqlGuid

Parameters

  • ordinal
    Type: System.Int32
    The ordinal position of the column from which to retrieve data.

Return Value

Type: System.Data.SqlTypes.SqlGuid
The value of the column at the specified index.

Remarks

An exception is thrown if no field exists at the specified ordinal position.

See Also

Reference

SqlCeResultSet Class

System.Data.SqlServerCe Namespace