ArcGIS Pro 2.8 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

See Also

Reference

CIMObject Class
CIMObject Members