Partager via


AdoDotNetDataTableReader.GetItemType(Int32, DataItemTypeFormat) Method

Definition

Retrieves the data type for a data item at a specified index and with a specified item type format.

public:
 override System::Object ^ GetItemType(int index, Microsoft::VisualStudio::Data::DataItemTypeFormat itemTypeFormat);
public override object GetItemType (int index, Microsoft.VisualStudio.Data.DataItemTypeFormat itemTypeFormat);
override this.GetItemType : int * Microsoft.VisualStudio.Data.DataItemTypeFormat -> obj
Public Overrides Function GetItemType (index As Integer, itemTypeFormat As DataItemTypeFormat) As Object

Parameters

index
Int32

Index into the field specifying the data item for which to retrieve the item type format.

itemTypeFormat
DataItemTypeFormat

The DataItemTypeFormat object specifying the data type format for the data item.

Returns

Returns the data type for the specified data item.

Applies to