This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLWriter Interface > IXMLWriter.WriteXML Method (ArcObjects .NET 10.4 SDK) |
Writes raw XML.
[Visual Basic .NET] Public Sub WriteXML ( _ ByVal XML As String _ )
[C#] public void WriteXML ( string XML );
[C++]
HRESULT WriteXML(
BSTR XML
);
[C++]
Parameters XML [in] XML is a parameter of type BSTR
The RawXML method writes XML code to Stream object. The XML code should be well-formed and valid, otherwise the XMLReader will raise error if the Stream is going to be read afterwards.