UIElementCollection.Remove method

Removes the first occurrence of a specific object from the collection.

Syntax


public bool Remove(
  UIElement item
)

Parameters

item

Type: UIElement

The object to remove from the collection.

Return value

Type: System.Boolean

true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the collection.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Controls

See also

UIElementCollection

 

 

Build date: 3/12/2013

Show:
© 2014 Microsoft