SecurityElement.AddChild(SecurityElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a child element to the XML element.
public:
void AddChild(System::Security::SecurityElement ^ child);
public void AddChild (System.Security.SecurityElement child);
member this.AddChild : System.Security.SecurityElement -> unit
Public Sub AddChild (child As SecurityElement)
Parameters
- child
- SecurityElement
The child element to add.
Exceptions
The child
parameter is null
.
Examples
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.
xmlRootElement->AddChild( windowsRoleElement );
xmlRootElement.AddChild(windowsRoleElement);
xmlRootElement.AddChild(windowsRoleElement)
Remarks
The child element is added following any previously existing child elements.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.