Share via


AdoDotNetReader.GetItemType(Int32, DataItemTypeFormat) Method

Definition

Retrieves 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::Services::SupportEntities::DataItemTypeFormat itemTypeFormat);
public override object GetItemType (int index, Microsoft.VisualStudio.Data.Services.SupportEntities.DataItemTypeFormat itemTypeFormat);
override this.GetItemType : int * Microsoft.VisualStudio.Data.Services.SupportEntities.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 the data type.

itemTypeFormat
DataItemTypeFormat

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

Returns

The data type of the item or items at the specified index in the specified format.

Applies to