Search Results for

    Show / Hide Table of Contents

    IGraphQLMap.Add Method

    Adds or sets a value associated with the specified key.

    Remarks

    Behavior is different from regular dictionary: if the Key does not exist, it will be created. If the Key already exists, it will replace the existing value by the new one. No exception is raised.

    Syntax

    Unit: GraphQL.Types

    procedure IGraphQLMap.Add(const Key: string; const Value: TValue); virtual; abstract;

    Parameters

    <-> Parameter Type Description
    const Key string
    const Value TValue

    See also

    • IGraphQLMap
    In This Article
    Back to top GraphQL for Delphi v1.4
    © 2021 - 2024 tmssoftware.com