ItemContainerGenerator.Recycle(GeneratorPosition, Int32) Method

Definition

Disassociates item containers from their data items and saves the containers so they can be reused later for other data items.

C#
public void Recycle(GeneratorPosition position, int count);

Parameters

position
GeneratorPosition

The zero-based index of the first element to reuse. position must refer to a previously generated (realized) item.

count
Int32

The number of elements to reuse, starting at position.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6