ArcGIS Pro 2.6 API Reference Guide
GetToolOptions Method

ArcGIS.Desktop.Editing.Templates Namespace > EditingTemplate Class : GetToolOptions Method
the Tool's ID
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.IEditingCreateToolControl. Events that are broadcast by the underlying ToolOptions are re-broadcast by this wrapper object.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

EditingTemplate Class
EditingTemplate Members