Freigeben über


CompoundAction.Close Method

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  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)

Syntax

'Declaration
Public Sub Close
public void Close()
public:
void Close()
member 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

CompoundAction Class

Microsoft.VisualStudio.Package Namespace