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

Name Description
ModelStateDictionary.Enumerator(ModelStateDictionary, String)

Intializes a new instance of ModelStateDictionary.Enumerator.

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