docs.unity3d.com
    Show / Hide Table of Contents

    Struct SerializedObjectView.Enumerator

    Enumerates the elements of SerializedObjectView.

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

    Properties

    Current

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

    Declaration
    public readonly SerializedMemberView Current { get; }
    Property Value
    Type Description
    SerializedMemberView
    Implements
    IEnumerator<T>.Current
    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 SerializedObjectView.Enumerator.

    Declaration
    public void Dispose()
    Implements
    IDisposable.Dispose()

    MoveNext()

    Advances the enumerator to the next element of the SerializedObjectView.

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    Boolean

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

    Implements
    IEnumerator.MoveNext()

    Reset()

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

    Declaration
    public void Reset()
    Implements
    IEnumerator.Reset()

    Explicit Interface Implementations

    IEnumerator.Current

    Declaration
    readonly object IEnumerator.Current { get; }
    Returns
    Type Description
    Object
    Implements
    IEnumerator.Current
    Back to top
    Terms of use
    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