IRecyclingItemContainerGenerator.Recycle(GeneratorPosition, 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.
Disassociates item containers from their data items and saves the containers so they can be reused later for other data items.
public:
void Recycle(System::Windows::Controls::Primitives::GeneratorPosition position, int count);
public void Recycle (System.Windows.Controls.Primitives.GeneratorPosition position, int count);
abstract member Recycle : System.Windows.Controls.Primitives.GeneratorPosition * int -> unit
Public Sub Recycle (position As GeneratorPosition, count As Integer)
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
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.