閱讀英文版本

分享方式:


ReadOnlySet<T>.IEnumerable.GetEnumerator 方法

定義

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

C#
System.Collections.IEnumerator IEnumerable.GetEnumerator();

傳回

可用來逐一查看集合的 IEnumerator 物件。

實作

備註

這個成員是明確的介面成員實作。 只有當 <xref:System.Collections.ObjectModel.ReadOnlySet'1> 實例轉換成 <xref:System.Collections.IEnumerable> 介面時,才能使用它。

適用於

產品 版本
.NET 9, 10