Udostępnij za pośrednictwem


IResultSetMetaData.GetColumnDisplaySize(Int32) Method

Definition

Indicates the designated column's normal maximum width in characters.

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

Parameters

column
Int32

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

Returns

the normal maximum number of characters allowed as the width of the designated column

Attributes

Exceptions

if there is a database error.

Remarks

Indicates the designated column's normal maximum width in characters.

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