Export (0) Print
Expand All

HtmlElement.AppendChild Method (HtmlElement)

Silverlight

Adds an element to the end of the child collection for the current HTML element.

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

[SecuritySafeCriticalAttribute]
public void AppendChild(
	HtmlElement element
)

Parameters

element
Type: System.Windows.Browser.HtmlElement
The element to be added.

ExceptionCondition
ArgumentNullException

element is null.

InvalidOperationException

element is a reference to this HtmlElement.

The specified element is appended to the current HTML element's child collection.

To add a child element at a specified location, use the AppendChild(HtmlElement, HtmlElement) method overload.

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