Adds a new element to the child list of this element.
[Visual Basic] Overloads Public Function AddElement( _ ByVal name As String, _ ByVal ns As String _ ) As XmlElement [C#] public XmlElement AddElement( string name, string ns ); [C++] public: XmlElement* AddElement( String* name, String* ns ); [JScript] public function AddElement( name : String, ns : String ) : XmlElement;
The newly created element.
An XmlElement instance with the given name and namespace URI is created and added to the child list of this element.
XmlContainer Class | XmlContainer Members | System.Xml Namespace | XmlContainer.AddElement Overload List | Add | AddElement | AddElement