Share via


AdoDotNetSchemaReader.GetItemType Method

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

Namespace:  Microsoft.VisualStudio.Data.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.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 into the field specifying the data item for which to retrieve the item type format.

Return Value

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

Remarks

The DataItemTypeFormat enumeration specifies four type formats: ManagedType, NativeType, Unknown, and VarType.

.NET Framework Security

See Also

Reference

AdoDotNetSchemaReader Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace