共用方式為


MultiSelectList.GetEnumerator 方法

定義

傳回逐一查看集合的列舉值。

public:
 virtual System::Collections::Generic::IEnumerator<Microsoft::AspNetCore::Mvc::Rendering::SelectListItem ^> ^ GetEnumerator();
public virtual System.Collections.Generic.IEnumerator<Microsoft.AspNetCore.Mvc.Rendering.SelectListItem> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.AspNetCore.Mvc.Rendering.SelectListItem>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.AspNetCore.Mvc.Rendering.SelectListItem>
Public Overridable Function GetEnumerator () As IEnumerator(Of SelectListItem)

傳回

實作

適用於