MethodData.OnDismiss Method
Called after the method tip is removed from view.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.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
'宣告
Public Sub OnDismiss
'用途
Dim instance As MethodData
instance.OnDismiss()
public void OnDismiss()
public:
virtual void OnDismiss() sealed
abstract OnDismiss : unit -> unit
override OnDismiss : unit -> unit
public final function OnDismiss()
Implements
Remarks
This method is called from the Dismiss method after the method tip has been removed from view to do any necessary clean up.
This method is an implementation of the OnDismiss method on the IVsMethodData interface.
The base method clears the internal method and parameter indexes, and clears the remembered IVsTextView and Methods objects. Finally, the base method clears the internal flag indicating the method tip is visible.
.NET Framework Security
- 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.