Condividi tramite


DataReader.GetItemIndex(String) Method

Definition

Returns the index corresponding to the specified item name in the block of data.

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

Parameters

name
String

The name of the item to get the index for.

Returns

An integer value representing the item index.

Implements

Applies to