PREPARECOMMANDRESULT Enumeration

Constants for working with commands. Used with PrepareCommand calls.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Public Enumeration PREPARECOMMANDRESULT
public enum PREPARECOMMANDRESULT
public enum class PREPARECOMMANDRESULT
type PREPARECOMMANDRESULT
public enum PREPARECOMMANDRESULT

Members

Member name Description
PC_SUCCESS Command preparation was successful.
PC_NOCOMMAND No command name was specified.
PC_NOTFOUND The name did not match any known command.
PC_NOTAVAILABLE The command is disabled.
PC_PARAMSNOTACCEPTED Parameters were specified, and the command does not accept parameters.
PC_FAILURE Failure not attributable to one of the causes below.

Remarks

COM Signature

From vsshell.idl:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace