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!

XmlDocument.CreateNode (String, String, String)

Creates an XmlNode with the specified node type, Name, and NamespaceURI.

[Visual Basic]
Overloads Overridable Public Function CreateNode( _
   ByVal nodeTypeString As String, _
   ByVal name As String, _
   ByVal namespaceURI As String _
) As XmlNode
[C#]
public virtual XmlNode CreateNode(
   string nodeTypeString,
   string name,
   string namespaceURI
);
[C++]
public: virtual XmlNode* CreateNode(
   String* nodeTypeString,
   String* name,
   String* namespaceURI
);
[JScript]
public function CreateNode(
   nodeTypeString : String,
   name : String,
   namespaceURI : String
) : XmlNode;

Parameters

nodeTypeString
String version of the XmlNodeType of the new node.
name
[To be supplied.]
namespaceURI
[To be supplied.]

Return Value

The new XmlNode.

Exceptions

Exception Type Condition
ArgumentException The name was not provided and the XmlNodeType requires a name.

See Also

XmlDocument Class | XmlDocument Members | System.NewXml Namespace | XmlDocument.CreateNode Overload List