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


IXMLObjectElement.WriteXML Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (System)  

IXMLObjectElement.WriteXML Method

Writes the object to XML.

[Visual Basic .NET]
Public Sub WriteXML ( _
    ByVal pWriter As IXMLWriter, _
    ByVal environment As IPropertySet, _
    ByVal flags As IXMLFlags, _
    ByVal elementName As String, _
    ByVal elementNamespaceURI As String _
)
[C#]
public void WriteXML (
    IXMLWriter pWriter,
    IPropertySet environment,
    IXMLFlags flags,
    string elementName,
    string elementNamespaceURI
);
[C++]
HRESULT WriteXML(
  IXMLWriter* pWriter,
  IPropertySet* environment,
  IXMLFlags* flags,
  BSTR elementName,
  BSTR elementNamespaceURI
);
[C++]

Parameters pWriter [in]
pWriter is a parameter of type IXMLWriter* environment [in]
environment is a parameter of type IPropertySet* flags [in]
flags is a parameter of type IXMLFlags* elementName [in]
elementName is a parameter of type BSTR elementNamespaceURI [in]
elementNamespaceURI is a parameter of type BSTR

Product Availability

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

See Also

IXMLObjectElement Interface