Compartir a través de


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_FAILURE Failure not attributable to one of the causes below.
PC_NOCOMMAND No command name was specified.
PC_NOTAVAILABLE The command is disabled.
PC_NOTFOUND The name did not match any known command.
PC_PARAMSNOTACCEPTED Parameters were specified, and the command does not accept parameters.
PC_SUCCESS Command preparation was successful.

Remarks

COM Signature

From vsshell.idl:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace