DbDataRecord.GetGuid(Int32) 方法

定义

返回指定字段的 GUID 值。

public:
 abstract Guid GetGuid(int i);
public:
 virtual Guid GetGuid(int i);
public abstract Guid GetGuid (int i);
public Guid GetGuid (int i);
abstract member GetGuid : int -> Guid
abstract member GetGuid : int -> Guid
override this.GetGuid : int -> Guid
Public MustOverride Function GetGuid (i As Integer) As Guid
Public Function GetGuid (i As Integer) As Guid

参数

i
Int32

要返回的字段的索引。

返回

指定字段的 GUID 值。

实现

例外

传递的索引位于 0 至 FieldCount 的范围之外。

适用于

另请参阅