共用方式為


DocumentTask.MarkerInvalidated Method

Called when the text that is associated with a marker is deleted by a user action.

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

'宣告
Public Overridable Sub MarkerInvalidated
public virtual void MarkerInvalidated()

Implements

IVsTextMarkerClient.MarkerInvalidated()

Remarks

By default, this method sets the valid state of the marker to false. It is an implementation of MarkerInvalidated.

.NET Framework Security

See Also

Reference

DocumentTask Class

Microsoft.VisualStudio.Package Namespace