IDataRecord.GetGuid(Int32) 方法

定義

傳回指定欄位的 GUID 值。

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

要尋找的欄位索引。

傳回

指定欄位的 GUID 值。

例外狀況

傳遞的索引超出 0 到 FieldCount 的範圍。

適用於