Skip to content

P_Aml_Editor_Plugin_Contracts_Commanding_EditorCommandArguments_Cancelled

AutomationML edited this page Jun 24, 2019 · 1 revision

EditorCommandArguments.Cancelled Property

AutomationML Editor

Gets or sets a value indicating whether an interactive operation has been canceled by the user.

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

Syntax

C#

public bool Cancelled { get; set; }

VB

Public Property Cancelled As Boolean
	Get
	Set

C++

public:
property bool Cancelled {
	bool get ();
	void set (bool value);
}

Property Value

Type: Boolean

Remarks

The PlugIn application should check the Canceled property before accessing any properties in a class derived from EditorCommandArguments; otherwise, the property will raise an InvalidOperationException if the operation was aborted.

See Also

Reference

EditorCommandArguments Class
Aml.Editor.Plugin.Contracts.Commanding Namespace

Clone this wiki locally