Compartir a través de


DataReader.GetItemType Method (Int32)

Retrieves the data type of a data item, or items, at the specified index for the default format Default.

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

Syntax

'Declaration
Public Function GetItemType ( _
    index As Integer _
) As String
public string GetItemType(
    int index
)
public:
virtual String^ GetItemType(
    int index
) sealed
abstract GetItemType : 
        index:int -> string  
override GetItemType : 
        index:int -> string
public final function GetItemType(
    index : int
) : String

Parameters

  • index
    Type: System.Int32

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

Return Value

Type: System.String
The data type of items at the specified index for the default format.

Implements

IVsDataReaderDescriptor.GetItemType(Int32)

Remarks

This method calls GetItemType and passes it the default data item format value of Default.

.NET Framework Security

See Also

Reference

DataReader Class

GetItemType Overload

Microsoft.VisualStudio.Data.Framework Namespace

GetItemType

GetItemName