共用方式為


CompoundAction.Abort Method

Terminates the current compound action, throwing away all edits.

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

'宣告
Public Overrides Sub Abort
'用途
Dim instance As CompoundAction

instance.Abort()
public override void Abort()
public:
virtual void Abort() override
abstract Abort : unit -> unit 
override Abort : unit -> unit 
public override function Abort()

Remarks

Call this method to not only stop the compound action but to throw away all edits made after the compound action object was created.

This method resumes colorization by recolorizing the current line.

.NET Framework Security

See Also

Reference

CompoundAction Class

CompoundAction Members

Microsoft.VisualStudio.Package Namespace