ArcGIS Pro 2.7 API Reference Guide
SetToolOption<T> Method

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
sets a tool option within the current ToolOptions
Syntax
protected void SetToolOption<T>( 
   string key,
   T value
)
Protected Sub SetToolOption(Of T)( _
   ByVal key As String, _
   ByVal value As T _
) 

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 10, Windows 8.1

See Also

Reference

ToolOptionsEmbeddableControl Class
ToolOptionsEmbeddableControl Members