次の方法で共有


CompoundAction.Close Method

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

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

Syntax

'宣言
Public Overrides Sub Close
public override void 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