ModelStateDictionary.Enumerator 結構

定義

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))
繼承
ModelStateDictionary.Enumerator
實作

建構函式

ModelStateDictionary.Enumerator(ModelStateDictionary, String)

初始化的新實例 ModelStateDictionary.Enumerator

屬性

Current

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

方法

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.

明確介面實作

IEnumerator.Current

適用於