IVsDataReaderDescriptor.GetItemType 方法 (Int32, DataItemTypeFormat)

检索数据项或数据项的数据类型在指定的索引,以指定的格式。

命名空间:  Microsoft.VisualStudio.Data.Services.SupportEntities
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
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

参数

  • index
    类型:System.Int32
    数据项索引来返回数据类型。

返回值

类型:System.Object
数据项的类型指定的索引位于指定的格式。

.NET Framework 安全性

请参见

参考

IVsDataReaderDescriptor 接口

GetItemType 重载

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空间