Поделиться через


Метод GetFieldType

Gets the Type information corresponding to the type of object that is returned from GetValue.

Пространство имен:  Microsoft.ReportingServices.DataProcessing
Сборки:   Microsoft.ReportingServices.Interfaces (в Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (в Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Синтаксис

'Декларация
Function GetFieldType ( _
    fieldIndex As Integer _
) As Type
'Применение
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

Параметры

Возвращаемое значение

Тип: System. . :: . .Type
The Type information corresponding to the type of Object that would be returned from GetValue.

Замечания

Exceptions

Exception type

Condition

IndexOutOfRangeException

The index passed was outside the range of 0 through FieldCount.