Share via


AdoDotNetSchemaReader.GetItemIndex Method

Retrieves the index of the item for the given item name, such as the index of a column for a given column 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

  • name
    Type: System.String

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

Return Value

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

Implements

IVsDataReaderDescriptor.GetItemIndex(String)

.NET Framework Security

See Also

Reference

AdoDotNetSchemaReader Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace