Mono Class Library: System.Xml.XmlDocument Overview | Members

System.Xml.XmlDocument.CreateNode Method

Creates an System.Xml.XmlNode instance.

public virtual XmlNode CreateNode (XmlNodeType type, string name, string namespaceURI)

Parameters

type
System.Xml.XmlNodeType that indicates the type of node to be created.
name
Name string of the node to be created.
namespaceURI
Namespace URI string of the node to be created.

Returns

An System.Xml.XmlNode instance as indicated by the parameters.

Remarks

Creates an System.Xml.XmlNode instance, according to the arguments. It internally invokes XmlDocument.CreateNode(string, string, string).

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0