docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SerializedMemberViewCollection.Enumerator

    Enumerates the elements of SerializedMemberViewCollection.

    Implements
    IEnumerator<SerializedMemberView>
    IEnumerator
    IDisposable
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Serialization.Json
    Assembly: Unity.Serialization.dll
    Syntax
    public struct SerializedMemberViewCollection.Enumerator : IEnumerator<SerializedMemberView>, IEnumerator, IDisposable

    Properties

    Current

    The element in the SerializedMemberViewCollection at the current position of the enumerator.

    Declaration
    public SerializedMemberView Current { get; }
    Property Value
    Type Description
    SerializedMemberView
    Exceptions
    Type Condition
    InvalidOperationException

    The enumerator is positioned before the first element of the collection or after the last element.

    Methods

    Dispose()

    Releases all resources used by the SerializedMemberViewCollection.Enumerator.

    Declaration
    public void Dispose()

    MoveNext()

    Advances the enumerator to the next element of the SerializedMemberViewCollection.

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    bool

    true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.

    Reset()

    Sets the enumerator to its initial position, which is before the first element in the collection.

    Declaration
    public void Reset()

    Implements

    IEnumerator<T>
    IEnumerator
    IDisposable
    In This Article
    Back to top
    Copyright © 2025 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)