IDataReader.GetFieldType Método
Gets the Type information corresponding to the type of object that is returned from GetValue.
Espacio de nombres: Microsoft.ReportingServices.DataProcessing
Ensamblados: Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Microsoft.ReportingServices.Interfaces (en Microsoft.ReportingServices.Interfaces.dll)
Sintaxis
'Declaración
Function GetFieldType ( _
fieldIndex As Integer _
) As Type
'Uso
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
Parámetros
- fieldIndex
Tipo: System.Int32
The index of the field to find.
Valor devuelto
Tipo: System.Type
The Type information corresponding to the type of Object that would be returned from GetValue.
Comentarios
Exceptions
Exception type |
Condition |
---|---|
IndexOutOfRangeException |
The index passed was outside the range of 0 through FieldCount. |
Vea también
Referencia
Espacio de nombres Microsoft.ReportingServices.DataProcessing