SQLiteDatabase.SetMaxSqlCacheSize(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the maximum size of the prepared-statement cache for this database.
[Android.Runtime.Register("setMaxSqlCacheSize", "(I)V", "GetSetMaxSqlCacheSize_IHandler")]
public virtual void SetMaxSqlCacheSize (int cacheSize);
[<Android.Runtime.Register("setMaxSqlCacheSize", "(I)V", "GetSetMaxSqlCacheSize_IHandler")>]
abstract member SetMaxSqlCacheSize : int -> unit
override this.SetMaxSqlCacheSize : int -> unit
Parameters
- cacheSize
- Int32
the size of the cache. can be (0 to #MAX_SQL_CACHE_SIZE)
- Attributes
Exceptions
if input cacheSize > MaxSqlCacheSize.
Remarks
Java documentation for android.database.sqlite.SQLiteDatabase.setMaxSqlCacheSize(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.