IVsDataReaderDescriptor.GetItemType Method (Int32, DataItemTypeFormat)
Retrieves the data type of a data item or data items at the specified index, in a specified format.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
‘선언
Function GetItemType ( _
index As Integer, _
itemTypeFormat As DataItemTypeFormat _
) As Object
Object GetItemType(
int index,
DataItemTypeFormat itemTypeFormat
)
Object^ GetItemType(
int index,
DataItemTypeFormat itemTypeFormat
)
abstract GetItemType :
index:int *
itemTypeFormat:DataItemTypeFormat -> Object
function GetItemType(
index : int,
itemTypeFormat : DataItemTypeFormat
) : Object
Parameters
- index
Type: System.Int32
Index of the data item for which to return the data type.
- itemTypeFormat
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.DataItemTypeFormat
A value from the DataItemTypeFormat enumeration specifying the format of the data type to return.
Return Value
Type: System.Object
The type of the data items located at the specified index in the specified format.
.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.
See Also
Reference
IVsDataReaderDescriptor Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace