ArcGIS Pro 2.6 API Reference Guide
ToXml Method (CIMLayerDocument)

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

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

CIMLayerDocument Class
CIMLayerDocument Members