RecognitionAlternates.Count Property

RecognitionAlternates.Count Property

Gets the number of RecognitionAlternate objects contained in the RecognitionAlternates collection.

Definition

Visual Basic .NET Public ReadOnly Property Count As Integer
C# public int Count { get; }
Managed C++ public: __property int* get_Count();

Property Value

System.Int32. The number of RecognitionAlternate objects contained in the RecognitionAlternates collection.

This property is read-only. This property has no default value.

Examples

[C#]

This C# example gets the number of RecognitionAlternate objects within a RecognitionAlternates collection, theRecognitionAlternates.

int theCount = theRecognitionAlternates.Count;

[Visual Basic .NET]

This Microsoft® Visual Basic® .NET example gets the number of RecognitionAlternate objects within a RecognitionAlternates collection, theRecognitionAlternates.

Dim theCount As Integer = theRecognitionAlternates.Count

See Also