IVsDataReaderDescriptor.GetItemIndex Method
Retrieves the index corresponding to the specified data item name for the current data reader.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function GetItemIndex ( _
name As String _
) As Integer
int GetItemIndex(
string name
)
int GetItemIndex(
String^ name
)
abstract GetItemIndex :
name:string -> int
function GetItemIndex(
name : String
) : int
Parameters
name
Type: System.StringThe date item name for which to retrieve the index.
Return Value
Type: System.Int32
The index corresponding to the specified data item name for the current data reader, or nulla null reference (Nothing in Visual Basic) if the item is not found.
.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.
See Also
Reference
IVsDataReaderDescriptor Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace