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)

Adds a new element to the child list of this element.

[Visual Basic]
Overloads Public Function AddElement( _
   ByVal name As String _
) As XmlElement
[C#]
public XmlElement AddElement(
   string name
);
[C++]
public: XmlElement* AddElement(
   String* name
);
[JScript]
public function AddElement(
   name : String
) : XmlElement;

Parameters

name
The name of the element to create and add.

Return Value

The newly created element.

Remarks

An XmlElement instance with the given name and the same namespace URI as this element 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