Udostępnij za pośrednictwem


DocumentTask.OnRemoved Method

Called when this DocumentTask object is removed from the Error List Options window.

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

Syntax

'Declaration
Protected Overrides Sub OnRemoved ( _
    e As EventArgs _
)
protected override void OnRemoved(
    EventArgs e
)
protected:
virtual void OnRemoved(
    EventArgs^ e
) override
abstract OnRemoved : 
        e:EventArgs -> unit 
override OnRemoved : 
        e:EventArgs -> unit 
protected override function OnRemoved(
    e : EventArgs
)

Parameters

  • e
    Type: System.EventArgs
    [in] An EventArgs object (which in this case does not contain any information and is used only as a placeholder in a delegate object).

Remarks

This method invalidates the IVsTextLineMarker object if it exists.

.NET Framework Security

See Also

Reference

DocumentTask Class

Microsoft.VisualStudio.Package Namespace