Partilhar via


OleCommandExecutionOption Enum

Definition

Provides a managed implementation of the OLECMDEXECOPT enumeration, which specifies allowable options to the ExecuteCommand(Int32, OleCommand, OleCommandExecutionOption, Object) method.

public enum class OleCommandExecutionOption
public enum OleCommandExecutionOption
type OleCommandExecutionOption = 
Public Enum OleCommandExecutionOption
Inheritance
OleCommandExecutionOption

Fields

Name Value Description
DoDefault 0

Either prompts the user for input, or does not, whichever is the default behavior.

PromptUser 1

Executes the command after obtaining user input.

DontPromptUser 2

Executes the command without prompting the user. For example, clicking the Print toolbar button causes a document to be immediately printed without user input.

ShowHelp 3

Shows help for the corresponding command, but does not execute the command.

Applies to