.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    PutAsync Method

    PutAsync(TKey, TValue)

    Sets key to value. See SetAsync(TKey, TValue) for more optimal usage if existing value is not required.

    Declaration
    Task<TValue> PutAsync(TKey key, TValue value)
    Parameters
    TKey key

    The key to be set.

    TValue value

    The value to be map to key.

    Returns
    Task<TValue>

    Value of the existing entry if any, otherwise null.

    In this article
    Back to top Copyright © 2010-2024 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.