Struct NativeMultiHashMap<TKey, TValue>.Enumerator | Collections | 0.14.0-preview.16
docs.unity.cn
    Show / Hide Table of Contents

    Struct NativeMultiHashMap<TKey, TValue>.Enumerator

    Implements iterator over the container.

    Namespace: Unity.Collections
    Syntax
    public struct Enumerator : IEnumerator<TValue>, IDisposable, IEnumerator

    Properties

    Current

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

    Declaration
    public TValue Current { get; }
    Property Value
    Type Description
    TValue

    Methods

    Dispose()

    Disposes enumerator.

    Declaration
    public void Dispose()

    GetEnumerator()

    Returns IEnumerator.

    Declaration
    public NativeMultiHashMap<TKey, TValue>.Enumerator GetEnumerator()
    Returns
    Type Description
    NativeMultiHashMap.Enumerator<>

    An IEnumerator object that can be used to iterate through the container.

    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()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 30 October 2020