The code in Figure 2 shows the enumerator.
图2中的代码表示枚举器。
The enumerator does not have exclusive access to the string.
枚举数对字符串的访问不是独占的。
The enumerator does not have exclusive access to the collection.
枚举数不具有对集合的独占访问权。
For example, the initializer of an enumerator must be a constant expression.
例如,枚举成员的初始化式必须是常量表达式。
Initially, the enumerator is positioned before the first item in the collection.
列举值一开始会位于集合中第一个项目之前。
Initially, the enumerator is positioned before the first text element in the string.
最初,枚举数定位在字符串中第一个文本元素前。
Advances the enumerator to the next message in the queue, if one is currently available.
如果目前有可用的列举值,让列举值前进至伫列中的下一个讯息。
For more information about how to set the Enumerator value, see the following Comments section.
如需有关如何设置枚举值,请参阅下面的评论信息。
For more information about how to set the Enumerator value, see the following Comments section.
如需有关如何设置枚举值,请参阅下面的评论信息。
应用推荐