NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlContainer.AddElement (String, String)

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;

Parameters

name
The name of the element to create and add.
ns
The namespace URI of the element to create and add.

Return Value

The newly created element.

Remarks

An XmlElement instance with the given name and namespace URI is created and added to the child list of this element.

See Also

XmlContainer Class | XmlContainer Members | System.Xml Namespace | XmlContainer.AddElement Overload List | Add | AddElement | AddElement