다음을 통해 공유


IParameterMetaData.GetScale(Int32) Method

Definition

Retrieves the designated parameter's number of digits to right of the decimal point.

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

Parameters

param
Int32

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

Returns

scale

Attributes

Exceptions

if a database error happens.

Remarks

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

Added in 1.4.

Java documentation for java.sql.ParameterMetaData.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