共用方式為


ModelStateDictionary.GetEnumerator 方法

定義

傳回列舉值,可用來逐一查看集合。

public System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string,System.Web.WebPages.Html.ModelState>> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, System.Web.WebPages.Html.ModelState>>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string, System.Web.WebPages.Html.ModelState>>
Public Function GetEnumerator () As IEnumerator(Of KeyValuePair(Of String, ModelState))

傳回

可用來逐一查看集合的列舉值。

實作

適用於