ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Editing.Templates Namespace / EditingTemplate Class / GetToolOptions Method
the Tool's ID

In This Topic
    GetToolOptions Method
    In This Topic
    Gets the ToolOptions for specified Tool.
    Syntax
    public ReadOnlyToolOptions GetToolOptions( 
       string toolID
    )
    Public Function GetToolOptions( _
       ByVal toolID As String _
    ) As ReadOnlyToolOptions

    Parameters

    toolID
    the Tool's ID

    Return Value

    a readonly ToolOptions, or null if the given toolID is null or empty string
    Remarks
    This method will typically be used by a Tool implementation wishing to access ArcGIS.Desktop.Editing.ToolOptions constructed and managed by an ArcGIS.Desktop.Editing.ToolOptionsEmbeddableControl. Events that are broadcast by the underlying ToolOptions are re-broadcast by this wrapper object.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also