Share via


UIElementWeakCollection.ReplaceAll(UIElement[]) 方法

定義

一開始清除集合,然後將提供的陣列插入為新專案。

public:
 virtual void ReplaceAll(Platform::Array <UIElement ^> ^ items) = IVector<UIElement ^>::ReplaceAll;
void ReplaceAll(winrt::array_view <UIElement const&> const& items);
public void ReplaceAll(UIElement[] items);
function replaceAll(items)
Public Sub ReplaceAll (items As UIElement())

參數

items
UIElement[]

新的集合專案。

實作

適用於