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
name
Type: System.StringThe name of the data item.
Return Value
Type: System.Int32
The index of the data item.
Implements
IVsDataReaderDescriptor.GetItemIndex(String)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.