This document is archived and information here might be outdated.  Recommended version.


IXMLWriter.WriteXML Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

IXMLWriter.WriteXML Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IXMLWriter Interface