Search Results for

    Show / Hide Table of Contents

    ISphinxContext.AddOwnership Method

    Adds an object to the context for ownership management.

    Remarks

    The AddOwnership method registers an object with the context to ensure that its lifecycle is managed properly. When the context goes out of scope, all objects added to its ownership are also destroyed, ensuring proper cleanup.

    Syntax

    Unit: Sphinx.Context

    procedure ISphinxContext.AddOwnership(Obj: TObject); virtual; abstract;

    Parameters

    <-> Parameter Type Description
    Obj TObject The object to be managed by the context.

    See also

    • ISphinxContext
    In This Article
    Back to top TMS Sphinx v1.15
    © 2021 - 2025 tmssoftware.com