IVsDataReaderDescriptor.GetItemType Method

Definition

Overloads

GetItemType(Int32)

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

GetItemType(Int32, DataItemTypeFormat)

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

GetItemType(Int32)

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

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

Parameters

index
Int32

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

Returns

The type of the data items located at the specified index.

Applies to

GetItemType(Int32, DataItemTypeFormat)

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

public:
 System::Object ^ GetItemType(int index, Microsoft::VisualStudio::Data::Services::SupportEntities::DataItemTypeFormat itemTypeFormat);
public object GetItemType (int index, Microsoft.VisualStudio.Data.Services.SupportEntities.DataItemTypeFormat itemTypeFormat);
abstract member GetItemType : int * Microsoft.VisualStudio.Data.Services.SupportEntities.DataItemTypeFormat -> obj
Public 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

A value from the DataItemTypeFormat enumeration specifying the format of the data type to return.

Returns

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

Applies to