IDataReader.GetValue(Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retournez la valeur du champ spécifié.
public:
System::Object ^ GetValue(int fieldIndex);
public object GetValue(int fieldIndex);
abstract member GetValue : int -> obj
Public Function GetValue (fieldIndex As Integer) As Object
Paramètres
- fieldIndex
- Int32
Index du champ à rechercher.
Retours
La valeur du champ à l’indice spécifié.
Remarques
Exceptions
| Type d'exception | Pathologie |
|---|---|
| ExceptionIndexOutofRange | L’index passé était en dehors de la plage de 0 à FieldCount. |