Udostępnij za pośrednictwem


CompoundAction.FlushEditActions Method

Flushes any pending edit actions from the current compound action.

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

Syntax

'Declaration
Public Overrides Sub FlushEditActions
public override void FlushEditActions()
public:
virtual void FlushEditActions() override
abstract FlushEditActions : unit -> unit 
override FlushEditActions : unit -> unit 
public override 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