InkRecognizerBaseCollection.InkRecognizerBaseCollectionEnumerator Class

An implementation of the System.Collections.IEnumerator interface that supports iterating over a InkRecognizerBaseCollection.

Namespace: System.Windows.Ink.AnalysisCore
Assembly: IACore (in iacore.dll)

'Declaration
Public Class InkRecognizerBaseCollectionEnumerator
	Implements IEnumerator
'Usage
Dim instance As InkRecognizerBaseCollectionEnumerator

public class InkRecognizerBaseCollectionEnumerator implements IEnumerator
public class InkRecognizerBaseCollectionEnumerator implements IEnumerator
Not applicable.

This enumerator provides read-only access to the elements in a referenced InkRecognizerBaseCollection. For example, the foreach statement of the Microsoft Visual Basic and C# programming languages, which iterates through the elements of a collection, retrieves an InkRecognizerBaseCollection.InkRecognizerBaseCollectionEnumerator from an instance of InkRecognizerBaseCollection in order to iterate through the elements in the collection.

For more information about this class, see System.Collections.IEnumerator.

The following example iterates over a InkRecognizerBaseCollection and returns information for all of the InkRecognizerBase objects in the collection, theInkRecognizerCollection.

' Create a StringBuilder in which to collect the information.
Dim result As New System.Text.StringBuilder
result.AppendLine("Recognizers in the InkRecognizerCollection:" _
    & System.Environment.NewLine)

' Iterate over the InkRecognizerCollection to collect information
' on each InkRecognizer.
Dim enumerator As _
    InkRecognizerBaseCollection.InkRecognizerBaseCollectionEnumerator = _
        theInkRecognizerCollection.GetEnumerator()
While (enumerator.MoveNext())
    ' Use a helper method to get a string containing information
    ' on the InkRecognizer.
    result.AppendLine(Me.GetInkRecognizerData(enumerator.Current))
End While

System.Object
  System.Windows.Ink.AnalysisCore.InkRecognizerBaseCollection.InkRecognizerBaseCollectionEnumerator

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: