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.Int32Index in the field specifying the data item for which to retrieve the item type format.
itemTypeFormat
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.DataItemTypeFormatThe DataItemTypeFormat object instance specifying the data type format for the data item.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.