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


IXMLWriter.WriteXML Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IX > IXMLWriter Interface > IXMLWriter.WriteXML Method
ArcGIS Developer Help

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