Struct SerializedMemberViewCollection.Enumerator
Enumerates the elements of SerializedMemberViewCollection.
Namespace: Unity.Serialization.Json
Syntax
public struct Enumerator : IEnumerator<SerializedMemberView>
Properties
Current
The element in the SerializedMemberViewCollection at the current position of the enumerator.
Declaration
public readonly SerializedMemberView Current { get; }
Property Value
Type | Description |
---|---|
SerializedMemberView |
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 |
---|---|
Boolean | 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()