Share via


AdoDotNetReader.GetItem Method

Definition

Overloads

GetItem(Int32)

Retrieves an object instance representing the retrievable item, as determined by an index in the current block of data.

GetItem(String)

Retrieves an object instance representing the retrievable item as specified by name.

GetItem(Int32)

Retrieves an object instance representing the retrievable item, as determined by an index in the current block of data.

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 in the current block of the data item at which to retrieve the item.

Returns

An object representing the item at the specified index.

Applies to

GetItem(String)

Retrieves an object instance representing the retrievable item as specified by 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

The name of the data item in the current block to retrieve.

Returns

An object specified by name.

Applies to