UIElementCollection.Clear Method

Definition

Removes all items from the collection.

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

Implements

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