Called when the sketch extension is no longer needed.
[Visual Basic .NET]
Public Sub Deactivate ( _
)
[C#] public void Deactivate ( );
Product Availability
Available with ArcGIS Desktop.
Remarks
The ::Deactivate() method is the last method called by the controller on the extension. Use it to release any unneeded memory reference pointers which the extension may have been holding on to.
[C#]
public void Deactivate() { if (m_editor != null) m_editor = null; }
[Visual Basic .NET]
Public Sub Deactivate()
If Not m_editor Is Nothing Then
m_editor = Nothing
End If
End Sub
See Also
IEditSketchExtension Interface | IDatasetEdit Interface | IDatasetEditInfo Interface | Editor Class | IEditTask.OnFinishSketch Method | IEditor Interface | IEditTask.OnDeleteSketch Method | IEditTask.Activate Method | IEditTask.Deactivate Method | IEditSketch Interface | IEditAttributeProperties Interface | IEditLayers Interface | IEditEvents Interface | IEditTask.Name Property | IEditProperties Interface | IEditEvents2 Interface | ISnapEnvironment Interface | IExtension Interface