ICrossProcessCursor.FillWindow(Int32, CursorWindow) 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.
Copies cursor data into the window.
[Android.Runtime.Register("fillWindow", "(ILandroid/database/CursorWindow;)V", "GetFillWindow_ILandroid_database_CursorWindow_Handler:Android.Database.ICrossProcessCursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void FillWindow (int position, Android.Database.CursorWindow? window);
[<Android.Runtime.Register("fillWindow", "(ILandroid/database/CursorWindow;)V", "GetFillWindow_ILandroid_database_CursorWindow_Handler:Android.Database.ICrossProcessCursorInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member FillWindow : int * Android.Database.CursorWindow -> unit
Parameters
- position
- Int32
The zero-based index of the first row to copy into the window.
- window
- CursorWindow
The window to fill.
- Attributes
Remarks
Copies cursor data into the window.
Clears the window and fills it with data beginning at the requested row position until all of the data in the cursor is exhausted or the window runs out of space.
The filled window uses the same row indices as the original cursor. For example, if you fill a window starting from row 5 from the cursor, you can query the contents of row 5 from the window just by asking it for row 5 because there is a direct correspondence between the row indices used by the cursor and the window.
The current position of the cursor, as returned by #getPosition
, is not changed by this method.
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.