Compartilhar via


IVsDataReaderDescriptor.GetItemType Method (Int32, DataItemTypeFormat)

Retrieves the data type of a data item or data items at the specified index, in a specified format.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Function GetItemType ( _
    index As Integer, _
    itemTypeFormat As DataItemTypeFormat _
) As Object
Object GetItemType(
    int index,
    DataItemTypeFormat itemTypeFormat
)
Object^ GetItemType(
    int index, 
    DataItemTypeFormat itemTypeFormat
)
abstract GetItemType : 
        index:int * 
        itemTypeFormat:DataItemTypeFormat -> Object
function GetItemType(
    index : int, 
    itemTypeFormat : DataItemTypeFormat
) : Object

Parameters

  • index
    Type: System.Int32

    Index of the data item for which to return the data type.

Return Value

Type: System.Object
The type of the data items located at the specified index in the specified format.

.NET Framework Security

See Also

Reference

IVsDataReaderDescriptor Interface

GetItemType Overload

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace