.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    RemoveAsync Method

    RemoveAsync(TKey)

    Removes the entry if key exists. Then, returns the value of the entry.

    Declaration
    Task<TValue> RemoveAsync(TKey key)
    Parameters
    TKey key

    Key of the entry to be removed.

    Returns
    Task<TValue>

    Value of the removed entry if any, otherwise null.

    Remarks

    See DeleteAsync(TKey) for more optimal usage if value of the entry is not required.

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