# EXT_COMMAND_METHOD function

The EXT_COMMAND_METHOD macro declares an extension command from inside the definition of the EXT_CLASS class.

## Syntax

```
EXT_COMMAND_METHOD(
_Name
);

```

## Parameters

_Name

The name of the extension command. As with all extension commands, the name must consist entirely of lowercase letters.

## Remarks

This macro must be used inside the definition of the EXT_CLASS class.

The macro EXT_COMMAND should be used to define the extension command. As with all C++ declarations, the EXT_COMMAND_METHOD declaration should appear in the source files before the EXT_COMMAND definition.

## Requirements

 Target platform Desktop Engextcpp.hpp (include Engextcpp.hpp)