Called when a view is closed.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'宣言
Public Overridable Function OnUnregisterView ( _
view As IVsTextView _
) As Integer
'使用
Dim instance As LanguagePreferences
Dim view As IVsTextView
Dim returnValue As Integer
returnValue = instance.OnUnregisterView(view)
public virtual int OnUnregisterView(
IVsTextView view
)
public:
virtual int OnUnregisterView(
IVsTextView^ view
)
public function OnUnregisterView(
view : IVsTextView
) : int
Parameters
view
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView[in] An IVsTextView interface representing the view that has been closed.
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.
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.