Op Englesch liesen Editéieren

Deelen iwwer


RoutedCommand.ICommand.CanExecute(Object) Method

Definition

For a description of this members, see CanExecute(Object).

C#
[System.Security.SecurityCritical]
bool ICommand.CanExecute(object parameter);
C#
bool ICommand.CanExecute(object parameter);

Parameters

parameter
Object

Data used by the command. If the command does not require data to be passed, this object can be set to null.

Returns

true if this command can be executed; otherwise, false.

Implements

Attributes

Remarks

This member is an explicit interface member implementation. It can be used only when the RoutedCommand instance is cast to an ICommand interface.

Applies to

Produkt Versiounen
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also