Share via


VirtualizingLayoutContext.RecycleElementCore(UIElement) メソッド

定義

派生クラスで実装されている場合は、指定した UIElement をクリアし、再利用または解放することができます。

このドキュメントは、WinUI 2 for UWP に適用されます (Windows アプリ SDKWinUI については、Windows アプリ SDK名前空間を参照してください)。

protected:
 virtual void RecycleElementCore(UIElement ^ element) = RecycleElementCore;
void RecycleElementCore(UIElement const& element);
protected virtual void RecycleElementCore(UIElement element);
Protected Overridable Sub RecycleElementCore (element As UIElement)

パラメーター

element
UIElement

クリアする要素。

注釈

このメソッドは、 RecycleElement が呼び出されたときの動作を提供します。

基本実装では 、NotImplementedException (winrt::hresult_not_implemented) がスローされます。

適用対象