Notifies the active view that it has lost its active status because the host or another component has become active.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'宣言
Public Overridable Sub OnLoseActivation
'使用
Dim instance As SimpleEditorView
instance.OnLoseActivation()
public virtual void OnLoseActivation()
public:
virtual void OnLoseActivation()
public function OnLoseActivation()
Implements
IOleComponent.OnLoseActivation()
Remarks
By default this method does nothing.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.