Share via


LanguagePreferences.OnUnregisterView Method

Called when a view is closed.

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

Syntax

'Declaration
Public Overridable Function OnUnregisterView ( _
    view As IVsTextView _
) As Integer
public virtual int OnUnregisterView(
    IVsTextView view
)
public:
virtual int OnUnregisterView(
    IVsTextView^ view
)
abstract OnUnregisterView : 
        view:IVsTextView -> int  
override OnUnregisterView : 
        view:IVsTextView -> int
public function OnUnregisterView(
    view : IVsTextView
) : int

Parameters

Return Value

Type: System.Int32

Implements

IVsTextManagerEvents2.OnUnregisterView(IVsTextView)

Remarks

This method is called when a view has been closed. A language service typically does not need to implement this method.

This method is an implementation of IVsTextManagerEvents2.OnUnregisterView.

The base method does nothing.

.NET Framework Security

See Also

Reference

LanguagePreferences Class

Microsoft.VisualStudio.Package Namespace