Java.Sql.IPreparedStatement.SetShort Method
Sets the value of a specified parameter to a supplied short value.

Syntax

[Android.Runtime.Register("setShort", "(IS)V", "GetSetShort_ISHandler:Java.Sql.IPreparedStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetShort (int parameterIndex, short theShort)

Parameters

parameterIndex
the parameter number index, where the first parameter has index 1.
theShort
a short value to which the parameter at parameterIndex is set.

Exceptions

TypeReason
Java.Sql.SQLExceptionif a database error happens.

Remarks

Sets the value of a specified parameter to a supplied short value.

[Android Documentation]

Requirements

Namespace: Java.Sql
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1