IRowSetMetaData.SetColumnDisplaySize(Int32, Int32) Method

Definition

Sets the designated column's normal maximum width in chars to the given int.

[Android.Runtime.Register("setColumnDisplaySize", "(II)V", "GetSetColumnDisplaySize_IIHandler:Javax.Sql.IRowSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetColumnDisplaySize (int columnIndex, int size);
[<Android.Runtime.Register("setColumnDisplaySize", "(II)V", "GetSetColumnDisplaySize_IIHandler:Javax.Sql.IRowSetMetaDataInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetColumnDisplaySize : int * int -> unit

Parameters

columnIndex
Int32

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

size
Int32

the normal maximum number of characters for the designated column

Attributes

Exceptions

if a problem occurs accessing the database.

Remarks

Sets the designated column's normal maximum width in chars to the given int.

Java documentation for javax.sql.RowSetMetaData.setColumnDisplaySize(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.

Applies to