共用方式為


IRowSetMetaData.SetCurrency(Int32, Boolean) Method

Definition

Sets whether the designated column is a cash value.

[Android.Runtime.Register("setCurrency", "(IZ)V", "GetSetCurrency_IZHandler:Javax.Sql.IRowSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetCurrency (int columnIndex, bool property);
[<Android.Runtime.Register("setCurrency", "(IZ)V", "GetSetCurrency_IZHandler:Javax.Sql.IRowSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetCurrency : int * bool -> unit

Parameters

columnIndex
Int32

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

property
Boolean

true if the column is a cash value; false if it is not

Attributes

Exceptions

if a problem occurs accessing the database.

Remarks

Sets whether the designated column is a cash value. The default is false.

Java documentation for javax.sql.RowSetMetaData.setCurrency(int, boolean).

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