共用方式為


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
    類型:Int32

    資料項目索引可以傳回資料型別。

傳回值

類型:Object
資料項目的型別指定索引所指定的格式。

.NET Framework 安全性

請參閱

參考

IVsDataReaderDescriptor 介面

GetItemType 多載

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