IRowSetMetaData.SetScale(Int32, Int32) 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 column's number of digits to the
right of the decimal point to the given int
.
[Android.Runtime.Register("setScale", "(II)V", "GetSetScale_IIHandler:Javax.Sql.IRowSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetScale (int columnIndex, int scale);
[<Android.Runtime.Register("setScale", "(II)V", "GetSetScale_IIHandler:Javax.Sql.IRowSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetScale : int * int -> unit
Parameters
- columnIndex
- Int32
the first column is 1, the second is 2, ...
- scale
- Int32
the number of digits to right of decimal point
- Attributes
Exceptions
if a problem occurs accessing the database.
Remarks
Sets the designated column's number of digits to the right of the decimal point to the given int
.
Java documentation for javax.sql.RowSetMetaData.setScale(int, int)
.
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.