UIElementCollection.Clear 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.
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.