Partilhar via


AdoDotNetDataReader.GetItemType(Int32, DataItemTypeFormat) Method

Definition

Returns the data type of a data item, or items, at the specified index in a specified 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 of the data item for which to return data type.

itemTypeFormat
DataItemTypeFormat

The format in which to return the data type information, as enumerated in DataItemTypeFormat.

Returns

Returns the data type of items at the specified index in the specified format.

Exceptions

The index parameter is invalid.

Applies to