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資料項目索引可以傳回資料型別。
itemTypeFormat
類型:Microsoft.VisualStudio.Data.Services.SupportEntities.DataItemTypeFormat從指定資料型別的格式 DataItemTypeFormat 列舉型別傳回值。
傳回值
類型:Object
資料項目的型別指定索引所指定的格式。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。