Row.Get 方法

定義

多載

Get(Int32)

傳回指定索引處的資料行值。

Get(String)

傳回指定其資料行名稱的資料行值。

Get(Int32)

傳回指定索引處的資料行值。

public object Get(int index);
member this.Get : int -> obj
Public Function Get (index As Integer) As Object

參數

index
Int32

要查閱的索引

傳回

資料行值

適用於

Get(String)

傳回指定其資料行名稱的資料行值。

public object Get(string columnName);
member this.Get : string -> obj
Public Function Get (columnName As String) As Object

參數

columnName
String

要查閱的資料行名稱

傳回

資料行值

適用於