Freigeben über


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.

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

Returns

Applies to