ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Editing Namespace / ToolOptionsEmbeddableControl Class / SetToolOption<T> Method
the type of the value to be saved; normally this will be a value-type and must be consistent with values that can be saved in the CIM
the key that identifies the tool option
the value to be saved
Version

SetToolOption<T> Method
Sets a tool option within the current ToolOptions
Syntax
protected void SetToolOption<T>( 
   string key,
   T value
)

Parameters

key
the key that identifies the tool option
value
the value to be saved

Type Parameters

T
the type of the value to be saved; normally this will be a value-type and must be consistent with values that can be saved in the CIM
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also