Partager via


SQLiteDatabase.PageSize Property

Definition

Returns the current database page size, in bytes. -or- Sets the database page size.

public virtual long PageSize { [Android.Runtime.Register("getPageSize", "()J", "GetGetPageSizeHandler")] get; [Android.Runtime.Register("setPageSize", "(J)V", "GetSetPageSize_JHandler")] set; }
[<get: Android.Runtime.Register("getPageSize", "()J", "GetGetPageSizeHandler")>]
[<set: Android.Runtime.Register("setPageSize", "(J)V", "GetSetPageSize_JHandler")>]
member this.PageSize : int64 with get, set

Property Value

the database page size, in bytes

Attributes

Remarks

Property getter documentation:

Returns the current database page size, in bytes.

Java documentation for android.database.sqlite.SQLiteDatabase.getPageSize().

Property setter documentation:

Sets the database page size. The page size must be a power of two. This method does not work if any data has been written to the database file, and must be called right after the database has been created.

Java documentation for android.database.sqlite.SQLiteDatabase.setPageSize(long).

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