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.Int32Index into the field specifying the data item for which to retrieve the item type format.
itemTypeFormat
Type: Microsoft.VisualStudio.Data.DataItemTypeFormatThe DataItemTypeFormat object instance specifying the data type format for the data item.
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
- 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.