共用方式為


PREPARECOMMANDRESULT Enum

Definition

Constants for working with commands. Used with PrepareCommand(String, Guid, UInt32, IntPtr, PREPARECOMMANDRESULT[]) calls.

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

Fields

Name Value Description
PC_SUCCESS 0

Command preparation was successful.

PC_NOCOMMAND 1

No command name was specified.

PC_NOTFOUND 2

The name did not match any known command.

PC_NOTAVAILABLE 3

The command is disabled.

PC_PARAMSNOTACCEPTED 4

Parameters were specified, and the command does not accept parameters.

PC_FAILURE 5

Failure not attributable to one of the causes below.

Remarks

COM Signature

From vsshell.idl:

Applies to