IVsDataReaderDescriptor.GetItemIndex(String) Method

Definition

Retrieves the index corresponding to the specified data item name for the current data reader.

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

Parameters

name
String

The date item name for which to retrieve the index.

Returns

The index corresponding to the specified data item name for the current data reader, or null if the item is not found.

Applies to