次の方法で共有


CompoundAction.FlushEditActions Method

Flushes any pending edit actions from the current compound action.

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 FlushEditActions
public override void 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