ModelingWindowPane.CommitPendingEditForCommand(CommandID) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
protected:
virtual bool CommitPendingEditForCommand(System::ComponentModel::Design::CommandID ^ command);
protected virtual bool CommitPendingEditForCommand (System.ComponentModel.Design.CommandID command);
abstract member CommitPendingEditForCommand : System.ComponentModel.Design.CommandID -> bool
override this.CommitPendingEditForCommand : System.ComponentModel.Design.CommandID -> bool
Protected Overridable Function CommitPendingEditForCommand (command As CommandID) As Boolean
Parameters
- command
- CommandID