IPreparedStatement.SetBigDecimal(Int32, BigDecimal) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the designated parameter to the given java.math.BigDecimal
value.
[Android.Runtime.Register("setBigDecimal", "(ILjava/math/BigDecimal;)V", "GetSetBigDecimal_ILjava_math_BigDecimal_Handler:Java.Sql.IPreparedStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetBigDecimal (int parameterIndex, Java.Math.BigDecimal? x);
[<Android.Runtime.Register("setBigDecimal", "(ILjava/math/BigDecimal;)V", "GetSetBigDecimal_ILjava_math_BigDecimal_Handler:Java.Sql.IPreparedStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetBigDecimal : int * Java.Math.BigDecimal -> unit
Parameters
- parameterIndex
- Int32
the first parameter is 1, the second is 2, ...
the parameter value
- Attributes
Exceptions
if a database error happens.
Remarks
Sets the designated parameter to the given java.math.BigDecimal
value. The driver converts this to an SQL NUMERIC
value when it sends it to the database.
Java documentation for java.sql.PreparedStatement.setBigDecimal(int, java.math.BigDecimal)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.