Skip to content

M_Aml_Editor_Plugin_Contracts_RelayCommand_1_CanExecute

AutomationML edited this page Jun 24, 2019 · 1 revision

RelayCommand(T).CanExecute Method

AutomationML Editor

Defines the method used to determine whether the command in the current state can be performed.

Namespace: Aml.Editor.Plugin.Contracts
Assembly: AML.Editor.PluginContracts (in AML.Editor.PluginContracts.dll) Version: 2.1

Syntax

C#

public bool CanExecute(
	Object parameter
)

VB

Public Function CanExecute ( 
	parameter As Object
) As Boolean

C++

public:
virtual bool CanExecute(
	Object^ parameter
) sealed

Parameters

 

parameter
Type: System.Object
Data used from the command. When the command does not require data transfer, the object can be set to null.

Return Value

Type: Boolean
true, if the command can be executed, otherwise false.

Implements

ICommand.CanExecute(Object)

See Also

Reference

RelayCommand(T) Class
Aml.Editor.Plugin.Contracts Namespace

Clone this wiki locally