ArcGIS Pro 2.9 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 11, Windows 10, Windows 8.1

See Also

Reference

CIMObject Class
CIMObject Members