Partager via


AdoDotNetTableReader.GetItemIndex Method

Retrieves the index of the data item for the specified data item name.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Overrides Function GetItemIndex ( _
    name As String _
) As Integer
public override int GetItemIndex(
    string name
)
public:
virtual int GetItemIndex(
    String^ name
) override
abstract GetItemIndex : 
        name:string -> int  
override GetItemIndex : 
        name:string -> int
public override function GetItemIndex(
    name : String
) : int

Parameters

Return Value

Type: System.Int32
The index of the data item.

Implements

IVsDataReaderDescriptor.GetItemIndex(String)

.NET Framework Security

See Also

Reference

AdoDotNetTableReader Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace