Share via


AdoDotNetSchemaReader.GetItemType Method (Int32, DataItemTypeFormat)

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

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public Overrides Function GetItemType ( _
    index As Integer, _
    itemTypeFormat As DataItemTypeFormat _
) As Object
public override Object GetItemType(
    int index,
    DataItemTypeFormat itemTypeFormat
)
public:
virtual Object^ GetItemType(
    int index, 
    DataItemTypeFormat itemTypeFormat
) override
abstract GetItemType : 
        index:int * 
        itemTypeFormat:DataItemTypeFormat -> Object  
override GetItemType : 
        index:int * 
        itemTypeFormat:DataItemTypeFormat -> Object
public override function GetItemType(
    index : int, 
    itemTypeFormat : DataItemTypeFormat
) : Object

Parameters

  • index
    Type: System.Int32

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

Return Value

Type: System.Object
The data type for the specified data item.

Implements

IVsDataReaderDescriptor.GetItemType(Int32, DataItemTypeFormat)

Remarks

The DataItemTypeFormat enumeration specifies three type formats:

Default, NativeType, and ManagedType.

.NET Framework Security

See Also

Reference

AdoDotNetSchemaReader Class

GetItemType Overload

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace