共用方式為


IResultSetMetaData.IsReadOnly(Int32) Method

Definition

Indicates whether the designated column is definitely not writable.

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

Parameters

column
Int32

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

Returns

true if so; false otherwise

Attributes

Exceptions

if there is a database error.

Remarks

Indicates whether the designated column is definitely not writable.

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