Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SqlCeResultSet.GetGuid Method

Returns the value of the column at the specified index as a GUID.

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

public override Guid GetGuid(
	int ordinal
)

Parameters

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

Return Value

Type: System.Guid
The value of the column at the specified index.

Implements

IDataRecord.GetGuid(Int32)

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

Show:
© 2015 Microsoft