Compartilhar via


EditorControl.OnLoseActivation Method

Notifies the active component that it has lost its active status because the host or another component has become active.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'Declaration
Public Overrides Sub OnLoseActivation
public override void OnLoseActivation()
public:
virtual void OnLoseActivation() override
abstract OnLoseActivation : unit -> unit  
override OnLoseActivation : unit -> unit
public override function OnLoseActivation()

Implements

IOleComponent.OnLoseActivation()

Remarks

By default this method does nothing.

.NET Framework Security

See Also

Reference

EditorControl Class

Microsoft.VisualStudio.Package Namespace