-
Notifications
You must be signed in to change notification settings - Fork 4
M_Aml_Editor_Plugin_Contracts_Commanding_EditorCommandBase_OpenCAEXFile
AutomationML Editor
Calls the command, to open the CAEX file from a stream.
Namespace: Aml.Editor.Plugin.Contracts.Commanding
Assembly: AML.Editor.PluginContracts (in AML.Editor.PluginContracts.dll) Version: 2.1
C#
public static bool OpenCAEXFile(
this IEditorCommanding plugIn,
Stream fileContent,
out OpenFileCommandArguments result
)VB
<ExtensionAttribute>
Public Shared Function OpenCAEXFile (
plugIn As IEditorCommanding,
fileContent As Stream,
<OutAttribute> ByRef result As OpenFileCommandArguments
) As BooleanC++
public:
[ExtensionAttribute]
static bool OpenCAEXFile(
IEditorCommanding^ plugIn,
Stream^ fileContent,
[OutAttribute] OpenFileCommandArguments^% result
)
- plugIn
- Type: Aml.Editor.Plugin.Contracts.Commanding.IEditorCommanding
The plug in. - fileContent
- Type: System.IO.Stream
The file content stream. - result
- Type: Aml.Editor.Plugin.Contracts.Commanding.OpenFileCommandArguments
The result.
Type: Booleantrue, if the operation has been executed successfully; false if an Error exists or the operation has been canceled. Interpret the result output for details.
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).
EditorCommandBase Class
OpenCAEXFile Overload
Aml.Editor.Plugin.Contracts.Commanding Namespace
The AutomationML Editor PlugIn Implementation Guide
Copyright © AutomationML e.V. 2018
Send comments on this topic to AutomationML office.
- AutomationML Editor API Reference Guide
- Version History
-
AutomationML Editor Plugin Development
- PluginBase Class
- DockPositionEnum Enumeration
- IAMLEditorExternalsPlugin Interface
- IAMLEditorPlugin Interface
- IAMLEditorPluginMetadata Interface
- IAMLEditorView Interface
- IAMLEditorViewCollection Interface
- INotifyAMLDocumentLoad Interface
- INotifyViewActivation Interface
- ISupportsSelection Interface
- IToolBarIntegration Interface
- PluginCommand Class
- PluginCommandsEnum Enumeration
- Aml.Editor.Plugin.Contracts.Commanding Namespace