TdxAICommandList.Add(string,Boolean) Method
Adds the specified AI-powered command to the collection.
Declaration
function Add(const AID: string; AAvailable: Boolean = True): Integer; overload;
Parameters
| Name | Type | Description |
|---|---|---|
| AID | string | The target AI command identifier. |
| AAvailable | Boolean | Optional. Specifies if the added command is available to users:
The |
Returns
| Type | Description |
|---|---|
| Integer | The added command’s index in the collection. |
Remarks
Call the Add function to add an individual AI-powered command to the end of the collection.
To remove individual AI commands, call Delete and Remove methods.
See Also