Udostępnij za pośrednictwem


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

'Declaration
Public Sub OnDismiss
public void OnDismiss()
public:
virtual void OnDismiss() sealed
abstract OnDismiss : unit -> unit 
override OnDismiss : unit -> unit 
public final function OnDismiss()

Implements

IVsMethodData.OnDismiss()

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

See Also

Reference

MethodData Class

Microsoft.VisualStudio.Package Namespace