次の方法で共有


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

'宣言
Public Function GetItemType ( _
    index As Integer _
) As String
'使用
Dim instance As DataReader
Dim index As Integer
Dim returnValue As String

returnValue = instance.GetItemType(index)
public string GetItemType(
    int index
)
public:
virtual String^ GetItemType(
    int index
) sealed
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.

Permissions

See Also

Reference

DataReader Class

DataReader Members

GetItemType Overload

Microsoft.VisualStudio.Data.Framework Namespace

GetItemType

GetItemName