Metodo IDataReader.GetValue

Return the value of the specified field.

Spazio dei nomi  Microsoft.ReportingServices.DataProcessing
Assembly:   Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)

Sintassi

'Dichiarazione
Function GetValue ( _
    fieldIndex As Integer _
) As Object
'Utilizzo
Dim instance As IDataReader 
Dim fieldIndex As Integer 
Dim returnValue As Object 

returnValue = instance.GetValue(fieldIndex)
Object GetValue(
    int fieldIndex
)
Object^ GetValue(
    int fieldIndex
)
abstract GetValue : 
        fieldIndex:int -> Object
function GetValue(
    fieldIndex : int
) : Object

Parametri

  • fieldIndex
    Tipo: System.Int32
    The index of the field to find.

Valore restituito

Tipo: System.Object
The value of the field at the specified index.

Osservazioni

Exceptions

Exception type

Condition

IndexOutOfRangeException

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

Vedere anche

Riferimento

IDataReader Interfaccia

Spazio dei nomi Microsoft.ReportingServices.DataProcessing