IDataRecord.GetDecimal(Int32) Méthode

Définition

Obtient la valeur numérique à position fixe du champ spécifié.

public:
 System::Decimal GetDecimal(int i);
public decimal GetDecimal (int i);
abstract member GetDecimal : int -> decimal
Public Function GetDecimal (i As Integer) As Decimal

Paramètres

i
Int32

Index du champ à rechercher.

Retours

La valeur numérique à position fixe du champ spécifié.

Exceptions

L’index passé était en dehors de la plage comprise entre 0 et FieldCount.

S’applique à