SecurityElement::AddChild Method (SecurityElement^)
.NET Framework (current version)
Adds a child element to the XML element.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- child
-
Type:
System.Security::SecurityElement^
The child element to add.
| Exception | Condition |
|---|---|
| ArgumentNullException | The child parameter is null. |
The child element is added following any previously existing child elements.
The following code shows the use of the AddChild method to add a child element to the XML element. This code example is part of a larger example provided for the SecurityElement class.
.NET Framework
Available since 1.1
Available since 1.1
Show: