Méthode SqlCeResultSet.SetInt16
Affecte à la colonne spécifiée la valeur Int16 passée.
Espace de noms : System.Data.SqlServerCe
Assembly : System.Data.SqlServerCe (en System.Data.SqlServerCe.dll)
Syntaxe
'Déclaration
Public Sub SetInt16 ( _
ordinal As Integer, _
value As Short _
)
'Utilisation
Dim instance As SqlCeResultSet
Dim ordinal As Integer
Dim value As Short
instance.SetInt16(ordinal, value)
public void SetInt16(
int ordinal,
short value
)
public:
void SetInt16(
int ordinal,
short value
)
member SetInt16 :
ordinal:int *
value:int16 -> unit
public function SetInt16(
ordinal : int,
value : short
)
Paramètres
- ordinal
Type : System.Int32
Position ordinale de la colonne à définir.
- value
Type : System.Int16
Valeur à assigner à la colonne spécifiée.
Notes
La colonne sous-jacente doit être de type tinyint.
Une exception est levée si la ligne n'est pas marquée comme modifiable.
Une exception est levée si aucun champ n'existe à la position spécifiée.