Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HtmlElement.RemoveChild Method

Silverlight

Removes the specified element from the child element collection of the current HTML element.

Namespace:  System.Windows.Browser
Assembly:  System.Windows.Browser (in System.Windows.Browser.dll)

[SecuritySafeCriticalAttribute]
public void RemoveChild(
	HtmlElement element
)

Parameters

element
Type: System.Windows.Browser.HtmlElement
The element to remove.

ExceptionCondition
ArgumentNullException

element is null.

InvalidOperationException

All other errors.

If element is not in the child element collection of the current HTML element, the method returns without error.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft