UIElementCollection.Clear Method

Definition

Removes all items from the collection.

public:
 virtual void Clear() = IVector<UIElement ^>::Clear;
void Clear();
public void Clear();
Public Sub Clear ()

Implements

Windows.Foundation.Collections.IVector`1.Clear

Remarks

The Clear method can be used when programming in C#, Microsoft Visual Basic or Visual C++ component extensions (C++/CX). The method signature is the same in each of these languages, and the behavior is the same.

Applies to