UnicodeCharacterRangeCollection.GetEnumerator 方法
返回整个 UnicodeCharacterRangeCollection 的枚举数。
命名空间: Microsoft.Ink
程序集: Microsoft.Ink.Analysis(在 Microsoft.Ink.Analysis.dll 中)
语法
声明
Public Function GetEnumerator As UnicodeCharacterRangeCollection..::.UnicodeCharacterRangeCollectionEnumerator
用法
Dim instance As UnicodeCharacterRangeCollection
Dim returnValue As UnicodeCharacterRangeCollection..::.UnicodeCharacterRangeCollectionEnumerator
returnValue = instance.GetEnumerator()
public UnicodeCharacterRangeCollection..::.UnicodeCharacterRangeCollectionEnumerator GetEnumerator()
public:
UnicodeCharacterRangeCollection..::.UnicodeCharacterRangeCollectionEnumerator^ GetEnumerator()
public UnicodeCharacterRangeCollection..::.UnicodeCharacterRangeCollectionEnumerator GetEnumerator()
public function GetEnumerator() : UnicodeCharacterRangeCollection..::.UnicodeCharacterRangeCollectionEnumerator
返回值
类型:Microsoft.Ink.UnicodeCharacterRangeCollection.UnicodeCharacterRangeCollectionEnumerator
整个 UnicodeCharacterRangeCollection 的枚举数。
示例
此示例获取 UnicodeCharacterRangeCollection 的枚举数,然后用该枚举数遍历该集合。
Dim UCRC As UnicodeCharacterRangeCollection = pInkRecognizer.GetUnicodeRanges()
Dim theEnumerator As _
UnicodeCharacterRangeCollection.UnicodeCharacterRangeCollectionEnumerator _
= UCRC.GetEnumerator()
theEnumerator.Reset()
While theEnumerator.MoveNext()
Dim UCR As UnicodeCharacterRange = theEnumerator.Current
End While
UnicodeCharacterRangeCollection UCRC = pInkRecognizer.GetUnicodeRanges();
UnicodeCharacterRangeCollection.UnicodeCharacterRangeCollectionEnumerator
theEnumerator = UCRC.GetEnumerator();
theEnumerator.Reset();
while (theEnumerator.MoveNext())
{
UnicodeCharacterRange UCR = theEnumerator.Current;
}
平台
Windows Vista
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
版本信息
.NET Framework
受以下版本支持:3.0
另请参见
参考
UnicodeCharacterRangeCollection 类