AdoDotNetDataTableReader.GetItem Method

Definition

Overloads

GetItem(Int32)

Retrieves a data item at a specified index.

GetItem(String)

Retrieves a data item with a specified name.

GetItem(Int32)

Retrieves a data item at a specified index.

public:
 override System::Object ^ GetItem(int index);
public override object GetItem (int index);
override this.GetItem : int -> obj
Public Overrides Function GetItem (index As Integer) As Object

Parameters

index
Int32

Index into the field specifying the data item to retrieve.

Returns

Returns an object representing the item at the specified index.

Applies to

GetItem(String)

Retrieves a data item with a specified name.

public:
 override System::Object ^ GetItem(System::String ^ name);
public override object GetItem (string name);
override this.GetItem : string -> obj
Public Overrides Function GetItem (name As String) As Object

Parameters

name
String

Name of the data item to retrieve.

Returns

Returns an object representing the item with the specified name.

Applies to