This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditSketchExtension Interface > IEditSketchExtension.Deactivate Method (ArcObjects .NET 10.5 SDK) |
Called when the sketch extension is no longer needed.
[Visual Basic .NET]
Public Sub Deactivate ( _
)
[C#] public void Deactivate ( );
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.
public void Deactivate() { if (m_editor != null) m_editor=null; }
Public Sub Deactivate()
If Not m_editor Is Nothing Then
m_editor=Nothing
End If
End Sub
IEditSketchExtension Interface | IDatasetEdit Interface | IDatasetEditInfo Interface | IEditSketch Interface | IEditTask.Activate Method | IEditor Interface | IEditTask.Deactivate Method | ISnapEnvironment Interface | IEditEvents2 Interface | IEditLayers Interface | IEditEvents Interface | IEditTask.Name Property | Editor Class | Editor Library | IEditTask.OnFinishSketch Method | IEditAttributeProperties Interface | IEditTask.OnDeleteSketch Method | IEditProperties Interface | IExtension Interface | IEditSketchExtension2 Interface