Freigeben über


AdoDotNetSchemaReader.GetItemIndex(String) Method

Definition

Retrieves the index of the item for the given item name, such as the index of a column for a given column name.

public:
 override int GetItemIndex(System::String ^ name);
public override int GetItemIndex (string name);
override this.GetItemIndex : string -> int
Public Overrides Function GetItemIndex (name As String) As Integer

Parameters

name
String

The name of the data item for which to retrieve the index.

Returns

The index of the data item.

Applies to