GetEnumerator

BehaviorCollection.GetEnumerator 方法

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

public IEnumerator<IBehavior> GetEnumerator()

返回值

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

参见