ModelingWindowPane.CommitPendingEditForCommand(CommandID) Method

Definition

Gives derived classes a chance to commit outstanding edits before a command is executed. This is called frequently, so only lightweight processing should be done here. This is preferable to IVsWindowPaneCommit.CommitPendingEdit, because it allows derived classes to make the decision to commit for some commands but not others.

C++
protected:
 virtual bool CommitPendingEditForCommand(System::ComponentModel::Design::CommandID ^ command);

Parameters

command
CommandID

Returns

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022