ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / GraphicsLayer Class / Initialize Method

In This Topic
    Initialize Method (GraphicsLayer)
    In This Topic
    This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    protected internal override void Initialize( 
       ILayerPropertySet properties,
       ManagedLayerProperties managedProperties,
       bool creating,
       bool fireAny
    )
    Protected Friend Overrides NotOverridable Sub Initialize( _
       ByVal properties As ILayerPropertySet, _
       ByVal managedProperties As ManagedLayerProperties, _
       Optional ByVal creating As Boolean, _
       Optional ByVal fireAny As Boolean _
    ) 

    Parameters

    properties
    managedProperties
    creating
    fireAny
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also