CommandStatus Enumeration

Applies to v2.

Specifies the CommandStatus return value used in CanExecute.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)


<FlagsAttribute> _
Public Enumeration CommandStatus
Dim instance As CommandStatus
public enum CommandStatus
public enum class CommandStatus
type CommandStatus
public enum CommandStatus


Member name Description
UnSupported CommandId is not known by the can execute handler.

Supported CommandId is known, but currently disabled due to context.

Enabled CommandId is known, command is enabled. Never return as a standalone flag.

EnabledAndSupported CommandId is known and enabled.

See Also


Microsoft.WebMatrix.Extensibility Namespace