Language
Edit

IDataCollectionItemPlacer.MoveAbsolute(Int32, Boolean) Method

Definition

Scroll visible data window to the specified first visible item

public int MoveAbsolute(int firstItem, bool purgeExitingObjectsNow = true);
abstract member MoveAbsolute : int * bool -> int
Public Function MoveAbsolute (firstItem As Integer, Optional purgeExitingObjectsNow As Boolean = true) As Integer

Parameters

firstItem
Int32

The first visible item to navigate to.

purgeExitingObjectsNow
Boolean

Purge no longer visible objects immediately and return back to object pool.

Returns

Actual distance moved from current position.

Remarks

Note if objects are not removed immediately, they must be removed later using PurgeAllRemovableGameObjects() or PurgeRemovableGameObjectRange(Int32, Int32).

Applies to