Udostępnij za pośrednictwem


IResultSetMetaData.GetScale(Int32) Method

Definition

Gets the designated column's number of digits to right of the decimal point.

[Android.Runtime.Register("getScale", "(I)I", "GetGetScale_IHandler:Java.Sql.IResultSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int GetScale (int column);
[<Android.Runtime.Register("getScale", "(I)I", "GetGetScale_IHandler:Java.Sql.IResultSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetScale : int -> int

Parameters

column
Int32

the first column is 1, the second is 2, ...

Returns

scale

Attributes

Exceptions

if there is a database error.

Remarks

Gets the designated column's number of digits to right of the decimal point. 0 is returned for data types where the scale is not applicable.

Java documentation for java.sql.ResultSetMetaData.getScale(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.

Applies to