{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method Remove | Collections | 2.3.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Remove

    Remove(TKey)

    Removes a key and its associated value(s).

    Declaration
    public int Remove(TKey key)
    Parameters
    Type Name Description
    TKey key

    The key to remove.

    Returns
    Type Description
    int

    The number of removed key-value pairs. If the key was not present, returns 0.

    Remove(NativeParallelMultiHashMapIterator<TKey>)

    Removes a single key-value pair.

    Declaration
    public void Remove(NativeParallelMultiHashMapIterator<TKey> it)
    Parameters
    Type Name Description
    NativeParallelMultiHashMapIterator<TKey> it

    An iterator representing the key-value pair to remove.

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown if the iterator is invalid.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)