Struct UnsafeMultiHashMap<TKey, TValue>.KeyValueEnumerator | Collections | 0.11.0-preview.17
docs.unity3d.com
    Show / Hide Table of Contents

    Struct UnsafeMultiHashMap<TKey, TValue>.KeyValueEnumerator

    Implements iterator over the container.

    Namespace: Unity.Collections.LowLevel.Unsafe
    Syntax
    public struct KeyValueEnumerator : IEnumerator<KeyValue<TKey, TValue>>, IDisposable, IEnumerator

    Properties

    Current

    Gets the element at the current position of the enumerator in the container.

    Declaration
    public KeyValue<TKey, TValue> Current { get; }
    Property Value
    Type Description
    KeyValue<TKey, TValue>

    Methods

    Dispose()

    Disposes enumerator.

    Declaration
    public void Dispose()

    MoveNext()

    Advances the enumerator to the next element of the container.

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    Boolean

    Returns true if the iterator is successfully moved to the next element, otherwise it returns false.

    Reset()

    Resets the enumerator to the first element of the container.

    Declaration
    public void Reset()
    In This Article
    • Properties
      • Current
    • Methods
      • Dispose()
      • MoveNext()
      • Reset()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023