Skip to main content
All docs
V25.1
  • TdxAICommandList.Remove(string) Method

    Removes an individual AI-powered command (specified by identifier).

    Declaration

    function Remove(const AID: string): Integer; overload;

    Parameters

    Name Type Description
    AID string

    The identifier of the target AI command.

    Returns

    Type Description
    Integer

    Returns the index of the removed AI command (returns -1 if no such command is found within the collection).

    Remarks

    To remove an individual AI command by index, call the Delete procedure.

    See Also