ArcGIS Pro 3.0 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

In This Topic
    SetToolOption<T> Method
    In This Topic
    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 11, Windows 10, Windows 8.1

    See Also