GetEnumerator

ShapeCollection.GetEnumerator 方法

返回一个枚举器,用于迭代集合。

public IEnumerator<IShape> GetEnumerator()

返回值

一个可以用于迭代集合的 IEnumerator。

另请参阅