DelegateCommand::CanExecute Method (Object^)

Visual Studio 2015
 

Determines whether the command can be executed in the current state.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

public:
[DebuggerStepThroughAttribute]
virtual bool CanExecute(
	Object^ parameter
) sealed

Parameters

parameter
Type: System::Object^

The parameter to be passed to the execute method.

Return Value

Type: System::Boolean

Returns true if the command can execute; false otherwise.

Return to top
Show: