DataReader.GetItemType Method

Definition

Overloads

GetItemType(Int32)

Retrieves the data type of a data item, or items, at the specified index for the default format Default.

GetItemType(Int32, DataItemTypeFormat)

Retrieves the data type of a data item, or items, at the specified index in a specified format.

GetItemType(Int32)

Retrieves the data type of a data item, or items, at the specified index for the default format Default.

public:
 virtual System::String ^ GetItemType(int index);
public string GetItemType (int index);
abstract member GetItemType : int -> string
override this.GetItemType : int -> string
Public Function GetItemType (index As Integer) As String

Parameters

index
Int32

Index of the data item for which to return data type.

Returns

The data type of items at the specified index for the default format.

Implements

Applies to

GetItemType(Int32, DataItemTypeFormat)

Retrieves the data type of a data item, or items, at the specified index in a specified format.

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

Parameters

index
Int32

Index of the data item for which to return a data type.

itemTypeFormat
DataItemTypeFormat

The format in which to return the data type information.

Returns

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

Implements

Applies to