Partager via


Méthode IDataReader.GetValue

Return the value of the specified field.

Espace de noms :  Microsoft.ReportingServices.DataProcessing
Assemblys :   Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (en Microsoft.ReportingServices.Interfaces.dll)

Syntaxe

'Déclaration
Function GetValue ( _
    fieldIndex As Integer _
) As Object
'Utilisation
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

Paramètres

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

Valeur de retour

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

Notes

Exceptions

Exception type

Condition

IndexOutOfRangeException

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

Voir aussi

Référence

IDataReader Interface

Espace de noms Microsoft.ReportingServices.DataProcessing