次の方法で共有


DiagramDocView.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:
 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

Returns

Applies to