ArcGIS Pro 2.6 API Reference Guide
ToXml Method (CIMObject)

ArcGIS.Core.CIM Namespace > CIMObject Class : ToXml Method
Creates an XML encoding of the CIMObject and its current state.
Syntax
public virtual string ToXml()
Public Overridable Function ToXml() As String
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

CIMObject Class
CIMObject Members