DataReader.GetItemType 方法 (Int32)

检索数据项的数据类型或项目,请在默认格式的 Default指定的索引。

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

语法

声明
Public Function GetItemType ( _
    index As Integer _
) As String
public string GetItemType(
    int index
)
public:
virtual String^ GetItemType(
    int index
) sealed
abstract GetItemType : 
        index:int -> string 
override GetItemType : 
        index:int -> string 
public final function GetItemType(
    index : int
) : String

参数

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

返回值

类型:System.String
项的数据类型位于指定索引处的默认格式的。

实现

IVsDataReaderDescriptor.GetItemType(Int32)

备注

此方法调用 GetItemType 并将其 Default的默认数据项格式化值。

.NET Framework 安全性

请参见

参考

DataReader 类

GetItemType 重载

Microsoft.VisualStudio.Data.Framework 命名空间

GetItemType

GetItemName