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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。