Skip to content

M_Aml_Editor_Plugin_Contracts_Commanding_EditorCommandBase_NewCAEXFile

AutomationML edited this page Jun 24, 2019 · 1 revision

EditorCommandBase.NewCAEXFile Method

AutomationML Editor

Calls the command, to create a new 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 NewCAEXFile(
	this IEditorCommanding plugIn,
	out NewCAEXFileCommandArguments result
)

VB

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

C++

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

Parameters

 

plugIn
Type: Aml.Editor.Plugin.Contracts.Commanding.IEditorCommanding
The plug in.
result
Type: Aml.Editor.Plugin.Contracts.Commanding.NewCAEXFileCommandArguments
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