Share via


ModelStateDictionary.Enumerator Struct

Definition

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

Constructors

ModelStateDictionary.Enumerator(ModelStateDictionary, String)

Intializes a new instance of ModelStateDictionary.Enumerator.

Properties

Current

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

Methods

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

IEnumerator.Current

Applies to