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

In This Topic
    SetSymbol Method
    In This Topic
    Sets a symbol on a symbol reference from an XML encoding of the symbol.
    Syntax
    public static bool SetSymbol( 
       ref CIMSymbolReference symbolRef,
       string symbolXml
    )
    Public Shared Function SetSymbol( _
       ByRef symbolRef As CIMSymbolReference, _
       ByVal symbolXml As String _
    ) As Boolean

    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