Share via


AdoDotNetSchemaReader.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

An integer specifying the index at which to retrieve the data item.

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

The name of the data item to retrieve.

Returns

The string literal name by which to retrieve the data item.

Applies to