Partager via


CompoundAction.FlushEditActions Method

Flushes any pending edit actions from the current compound action.

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 FlushEditActions
public void FlushEditActions()
public:
void FlushEditActions()
member FlushEditActions : unit -> unit
public function FlushEditActions()

Remarks

This method has limited functionality as it forwards the call to the FlushEditActions method on the IVsCompoundAction object obtained in the CompoundAction class constructor. That version of the FlushEditActions method applies only if you have made multiple calls to the OpenCompoundAction method on the same IVsCompoundAction object. This situation is not possible with the CompoundAction class, which performs only a single call to the OpenCompoundAction method.

.NET Framework Security

See Also

Reference

CompoundAction Class

Microsoft.VisualStudio.Package Namespace