次の方法で共有


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.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)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'宣言
Protected Overrides Sub OnRemoved ( _
    e As EventArgs _
)
protected override void OnRemoved(
    EventArgs e
)

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