Partager via


CompoundActionBase.Close Method

Close the compound action and commits all edits to the source file.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

Syntax

'Declaration
Public Overridable Sub Close
public virtual void Close()
public:
virtual void Close()
abstract Close : unit -> unit  
override Close : unit -> unit
public function Close()

Remarks

This method commits all changes made since the compound action object was created.

This method resumes colorization by recolorizing the current line.

.NET Framework Security

See Also

Reference

CompoundActionBase Class

Microsoft.VisualStudio.Package Namespace