CanExecute MethodSave PDFSave selected topicSave selected topic and subtopicsSave all topicsShareShare to emailCopy topic URLLast UpdatedAug 21, 20261 minute readHMI and SCADAOperations Management Interface 2026 Defines the method that determines whether the command can execute in its current state.Syntax Visual BasicC#C++/CLI 'Declaration Public Function CanExecute( _ ByVal parameter As Object _ ) As Boolean public bool CanExecute( object parameter ) public: bool CanExecute( Object^ parameter ) Parametersparameter Data used by the command. If the command does not require data to be passed, this object can be set to null. Return Valuetrue if this command can be executed; otherwise, false.RequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceDelegateCommand ClassDelegateCommand Members In This Topic
Defines the method that determines whether the command can execute in its current state.Syntax Visual BasicC#C++/CLI 'Declaration Public Function CanExecute( _ ByVal parameter As Object _ ) As Boolean public bool CanExecute( object parameter ) public: bool CanExecute( Object^ parameter ) Parametersparameter Data used by the command. If the command does not require data to be passed, this object can be set to null. Return Valuetrue if this command can be executed; otherwise, false.RequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceDelegateCommand ClassDelegateCommand Members
Defines the method that determines whether the command can execute in its current state.Syntax Visual BasicC#C++/CLI 'Declaration Public Function CanExecute( _ ByVal parameter As Object _ ) As Boolean public bool CanExecute( object parameter ) public: bool CanExecute( Object^ parameter ) Parametersparameter Data used by the command. If the command does not require data to be passed, this object can be set to null. Return Valuetrue if this command can be executed; otherwise, false.RequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceDelegateCommand ClassDelegateCommand Members
Defines the method that determines whether the command can execute in its current state.Syntax Visual BasicC#C++/CLI 'Declaration Public Function CanExecute( _ ByVal parameter As Object _ ) As Boolean public bool CanExecute( object parameter ) public: bool CanExecute( Object^ parameter ) Parametersparameter Data used by the command. If the command does not require data to be passed, this object can be set to null. Return Valuetrue if this command can be executed; otherwise, false.RequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceDelegateCommand ClassDelegateCommand Members