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!

XmlDataDocument.CreateElement

Creates an element with the specified Prefix, LocalName, and NamespaceURI.

[Visual Basic]
Overrides Public Function CreateElement( _
   ByVal prefix As String, _
   ByVal localName As String, _
   ByVal namespaceURI As String _
) As XmlElement
[C#]
public override XmlElement CreateElement(
   string prefix,
   string localName,
   string namespaceURI
);
[C++]
public: override XmlElement* CreateElement(
   String* prefix,
   String* localName,
   String* namespaceURI
);
[JScript]
public override function CreateElement(
   prefix : String,
   localName : String,
   namespaceURI : String
) : XmlElement;

Parameters

prefix
Prefix of the new element. If you specify null, there is no prefix.
localName
[To be supplied.]
namespaceURI
[To be supplied.]

Return Value

A new XmlElement object with the following attributes:

Attribute Value
Name Prefix concatenated with localName
namespaceURI namespaceURI
Prefix prefix or null if there is no prefix
LocalName localName

See Also

XmlDataDocument Class | XmlDataDocument Members | System.NewXml Namespace