Skip to main content
All docs
V25.1
  • TdxAICommandList.Find(string,Integer) Method

    Returns the index of the target AI-powered command in the collection.

    Declaration

    function Find(const AID: string; out AIndex: Integer): Boolean;

    Parameters

    Name Type Description
    AID string

    The target AI command identifier.

    AIndex Integer

    Returns the index of the target command (AID) in the collection.

    If no such command is present in the collection, this parameter returns -1.

    Returns

    Type Description
    Boolean

    True if the specified command is present in the collection; otherwise, False.

    See Also