AODL.Document.TextDocuments.TextDocument.CreateNode C# (CSharp) Method

CreateNode() public method

Create a new XmlNode for this document.
public CreateNode ( string name, string prefix ) : XmlNode
name string The elementname.
prefix string The prefix.
return System.Xml.XmlNode
		public XmlNode CreateNode(string name, string prefix)
		{
			if (this.XmlDoc == null)
				throw new ArgumentNullException(string.Format(
					"There is no XmlDocument loaded"));
			string nuri = this.GetNamespaceUri(prefix);
			return this.XmlDoc.CreateElement(prefix, name, nuri);
		}