ArcGIS Pro 2.2 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 Overridable Function ToXml() As String
public virtual string ToXml()
Requirements

Target Platforms:Windows 10, Windows 8.1, Windows 7

See Also

Reference

CIMObject Class
CIMObject Members