.NET Client Documentation
5.1.1
Search Results for

    Show / Hide Table of Contents

    PutAsync Method

    PutAsync(TKey, TValue)

    Stores a key-value pair in the multi-map.

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

    the key to be stored

    TValue value

    the value to be stored

    Returns
    Task<Boolean>

    true if size of the multi-map is increased, false otherwise.

    Remarks

    This method uses GetHashCode and Equals of binary form of the key, not the actual implementations of GetHashCode and Equals defined in key's class.

    In This Article
    Back to top Copyright © 2010-2022 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.