Share via


ModelStateDictionary.ValueEnumerator Struct

Definition

An enumerator for ModelStateEntry.

public: value class ModelStateDictionary::ValueEnumerator : System::Collections::Generic::IEnumerator<Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateEntry ^>
public struct ModelStateDictionary.ValueEnumerator : System.Collections.Generic.IEnumerator<Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry>
type ModelStateDictionary.ValueEnumerator = struct
    interface IEnumerator<ModelStateEntry>
    interface IEnumerator
    interface IDisposable
Public Structure ModelStateDictionary.ValueEnumerator
Implements IEnumerator(Of ModelStateEntry)
Inheritance
ModelStateDictionary.ValueEnumerator
Implements

Constructors

Name Description
ModelStateDictionary.ValueEnumerator(ModelStateDictionary, String)

Initializes a new instance of ModelStateDictionary.ValueEnumerator.

Properties

Name Description
Current

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

Methods

Name Description
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

MoveNext()

Advances the enumerator to the next element of the collection.

Reset()

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

Explicit Interface Implementations

Name Description
IEnumerator.Current

Applies to