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

OnWriteSettingsAsync Method
Override this method to write custom settings to the current project when it is saved.
Syntax
protected internal virtual Task OnWriteSettingsAsync( 
   ModuleSettingsWriter settings
)

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