检索数据项或数据项的数据类型在指定的索引,以指定的格式。
命名空间: 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
数据项索引来返回数据类型。
- itemTypeFormat
类型:Microsoft.VisualStudio.Data.Services.SupportEntities.DataItemTypeFormat
从指定数据类型的布局 DataItemTypeFormat 枚举的值返回。
返回值
类型:System.Object
数据项的类型指定的索引位于指定的格式。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。