Skip to content

M_Aml_Editor_Plugin_Contracts_Commanding_EditorCommandBase_CloseCAEXFile

AutomationML edited this page Jun 24, 2019 · 1 revision

EditorCommandBase.CloseCAEXFile Method

AutomationML Editor

Calls the command, to close the CAEX file.

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

Syntax

C#

public static bool CloseCAEXFile(
	this IEditorCommanding plugIn,
	out CloseCAEXFileCommandArguments result
)

VB

<ExtensionAttribute>
Public Shared Function CloseCAEXFile ( 
	plugIn As IEditorCommanding,
	<OutAttribute> ByRef result As CloseCAEXFileCommandArguments
) As Boolean

C++

public:
[ExtensionAttribute]
static bool CloseCAEXFile(
	IEditorCommanding^ plugIn, 
	[OutAttribute] CloseCAEXFileCommandArguments^% result
)

Parameters

 

plugIn
Type: Aml.Editor.Plugin.Contracts.Commanding.IEditorCommanding
The plug in.
result
Type: Aml.Editor.Plugin.Contracts.Commanding.CloseCAEXFileCommandArguments
The result.

Return Value

Type: Boolean
true, if the operation has been executed successfully; false if an Error exists or the operation has been canceled. Interpret the result output for details.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEditorCommanding. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

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

Clone this wiki locally