다음을 통해 공유


IStatement.FetchSize Property

Definition

Gets the default number of rows for a fetch for the ResultSet objects returned from this statement.

public int FetchSize { [Android.Runtime.Register("getFetchSize", "()I", "GetGetFetchSizeHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setFetchSize", "(I)V", "GetSetFetchSize_IHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("getFetchSize", "()I", "GetGetFetchSizeHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setFetchSize", "(I)V", "GetSetFetchSize_IHandler:Java.Sql.IStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.FetchSize : int with get, set

Property Value

Attributes

Exceptions

if an error occurs accessing the database.

if an error occurs accessing the database, or if the rows parameter is out of range.

Remarks

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