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 類別