Loads the XML document from the specified string.
[Visual Basic] Overridable Public Sub LoadXml( _ ByVal xml As String _ ) [C#] public virtual void LoadXml( string xml ); [C++] public: virtual void LoadXml( String* xml ); [JScript] public function LoadXml( xml : String );
Exception Type | Condition |
---|---|
XmlException | A load or parse error in the XML. In this case, the document will remain empty. |
XmlDocument Class | XmlDocument Members | System.NewXml Namespace