UIElementCollection.RemoveAtEnd Method

Definition

Removes the last item in the collection.

Equivalent WinUI method: Microsoft.UI.Xaml.Controls.UIElementCollection.RemoveAtEnd.

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

Implements

Remarks

If successful, calling this method reduces the collection size by one.

If you are programming using C# or Microsoft Visual Basic, see RemoveAt (pass an index value of Count minus one).

Applies to

See also