ModelStateDictionary.PrefixEnumerable 結構

定義

列舉 ModelStateDictionary 以提供以指定前置詞開頭的專案。

public: value class ModelStateDictionary::PrefixEnumerable : System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::AspNetCore::Mvc::ModelBinding::ModelStateEntry ^>>
public struct ModelStateDictionary.PrefixEnumerable : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateEntry>>
type ModelStateDictionary.PrefixEnumerable = struct
    interface seq<KeyValuePair<string, ModelStateEntry>>
    interface IEnumerable
Public Structure ModelStateDictionary.PrefixEnumerable
Implements IEnumerable(Of KeyValuePair(Of String, ModelStateEntry))
繼承
ModelStateDictionary.PrefixEnumerable
實作

建構函式

ModelStateDictionary.PrefixEnumerable(ModelStateDictionary, String)

初始化 ModelStateDictionary.PrefixEnumerable 的新執行個體。

方法

GetEnumerator()

Returns an enumerator that iterates through the collection.

明確介面實作

IEnumerable.GetEnumerator()
IEnumerable<KeyValuePair<String,ModelStateEntry>>.GetEnumerator()

適用於