Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the Type information corresponding to the type of object that is returned from GetValue.
Namespace: Microsoft.ReportingServices.DataProcessing
Assemblies: Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
Syntax
'Declaration
Function GetFieldType ( _
fieldIndex As Integer _
) As Type
'Usage
Dim instance As IDataReader
Dim fieldIndex As Integer
Dim returnValue As Type
returnValue = instance.GetFieldType(fieldIndex)
Type GetFieldType(
int fieldIndex
)
Type^ GetFieldType(
int fieldIndex
)
abstract GetFieldType :
fieldIndex:int -> Type
function GetFieldType(
fieldIndex : int
) : Type
Parameters
- fieldIndex
Type: System.Int32
The index of the field to find.
Return Value
Type: System.Type
The Type information corresponding to the type of Object that would be returned from GetValue.
Remarks
Exceptions
Exception type |
Condition |
---|---|
IndexOutOfRangeException |
The index passed was outside the range of 0 through FieldCount. |