共用方式為


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.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

'宣告
Public Overridable Sub MarkerInvalidated
'用途
Dim instance As DocumentTask

instance.MarkerInvalidated()
public virtual void MarkerInvalidated()
public:
virtual void MarkerInvalidated()
abstract MarkerInvalidated : unit -> unit 
override MarkerInvalidated : unit -> unit 
public function 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

DocumentTask Members

Microsoft.VisualStudio.Package Namespace