IDataConsumerCollection.PrefetchCollectionItems 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.
Request specific items from an item placer for future use.
public void PrefetchCollectionItems(MixedReality.Toolkit.Data.IDataCollectionItemPlacer itemPlacer, int indexRangeStart, int indexRangeCount);
abstract member PrefetchCollectionItems : MixedReality.Toolkit.Data.IDataCollectionItemPlacer * int * int -> unit
Public Sub PrefetchCollectionItems (itemPlacer As IDataCollectionItemPlacer, indexRangeStart As Integer, indexRangeCount As Integer)
Parameters
- itemPlacer
- IDataCollectionItemPlacer
The Item Placer making this request.
- indexRangeStart
- Int32
The zero-based start index of the range to retrieve.
- indexRangeCount
- Int32
The number of items to retrieve. If end of collection is reached, fewer items may be provided.
Remarks
The individual items will be cached for potential future use.
This is used by an Item Placer to predictively request a subset of items in the collection that may soon become visible.