This document is archived and information here might be outdated.  Recommended version.


IEditTask.OnFinishSketch Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditTask Interface > IEditTask.OnFinishSketch Method
ArcGIS Developer Help

IEditTask.OnFinishSketch Method

Notifies the task that the edit sketch is complete.

[Visual Basic .NET]
Public Sub OnFinishSketch ( _
)
[C#]
public void OnFinishSketch (
);

Product Availability

Available with ArcGIS Desktop.

Remarks

Control passes to OnFinishSketch after IEditSketch::FinishSketch is called. When implementing IEditTask to create your own edit task, the bulk of code is typically written here.  This is where you should start an edit operation if necessary and store any created or modified features.  
If you need to get a reference to IApplication use IEditor::Parent; a reference to the Editor object itself should be set in Activate
 

See Also

IEditTask Interface | IEditTask Interface | IEditSketch Interface | IExtension Interface