IDataRecord.GetGuid(Int32) 方法

定义

返回指定字段的 GUID 值。Returns the GUID value of the specified field.

public:
 Guid GetGuid(int i);
public Guid GetGuid (int i);
abstract member GetGuid : int -> Guid
Public Function GetGuid (i As Integer) As Guid

参数

i
Int32

要查找的字段的索引。The index of the field to find.

返回

指定字段的 GUID 值。The GUID value of the specified field.

异常

传递的索引位于 0 至 FieldCount 的范围之外。The index passed was outside the range of 0 through FieldCount.

适用于