ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMSymbolReference Class / SetSymbol Method
The symbol reference to be updated
The symbol XML
Version

SetSymbol Method
Sets a symbol on a symbol reference from an XML encoding of the symbol.
Syntax
public static bool SetSymbol( 
   ref CIMSymbolReference symbolRef,
   string symbolXml
)

Parameters

symbolRef
The symbol reference to be updated
symbolXml
The symbol XML

Return Value

A boolean indicating if the symbol was properly decoded to a non-null symbol.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also