DataReader.GetItemType Method (Int32)
Retrieves the data type of a data item, or items, at the specified index for the default format Default.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Public Function GetItemType ( _
index As Integer _
) As String
'使用
Dim instance As DataReader
Dim index As Integer
Dim returnValue As String
returnValue = instance.GetItemType(index)
public string GetItemType(
int index
)
public:
virtual String^ GetItemType(
int index
) sealed
public final function GetItemType(
index : int
) : String
Parameters
index
Type: System.Int32Index of the data item for which to return data type.
Return Value
Type: System.String
The data type of items at the specified index for the default format.
Implements
IVsDataReaderDescriptor.GetItemType(Int32)
Remarks
This method calls GetItemType and passes it the default data item format value of Default.
Permissions
- 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.