DiagramDocView.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:
override bool CommitPendingEditForCommand(System::ComponentModel::Design::CommandID ^ command);
protected override bool CommitPendingEditForCommand (System.ComponentModel.Design.CommandID command);
override this.CommitPendingEditForCommand : System.ComponentModel.Design.CommandID -> bool
Protected Overrides Function CommitPendingEditForCommand (command As CommandID) As Boolean
Parameters
- command
- CommandID