CompoundAction.Abort Method

Terminates the current compound action, throwing away all edits.

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

Syntax

'宣言
Public Sub Abort
'使用
Dim instance As CompoundAction

instance.Abort()
public void Abort()
public:
void Abort()
public 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.

Permissions

See Also

Reference

CompoundAction Class

CompoundAction Members

Microsoft.VisualStudio.Package Namespace