ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Module Class / OnWriteSettingsAsync Method
A dictionary type object to store and retrieve values.

In This Topic
    OnWriteSettingsAsync Method
    In This Topic
    Override this method to write custom settings to the current project when it is saved.
    Syntax
    protected internal virtual Task OnWriteSettingsAsync( 
       ModuleSettingsWriter settings
    )
    Protected Friend Overridable Function OnWriteSettingsAsync( _
       ByVal settings As ModuleSettingsWriter _
    ) As Task

    Parameters

    settings
    A dictionary type object to store and retrieve values.

    Return Value

    A task that represents the work queued to execute in the ThreadPool.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also