Share via


SpeechRecognitionResult.GetAlternates(UInt32) Method

Definition

Gets a collection of recognition result alternatives, ordered by RawConfidence from most likely to least likely. The first item in the collection is the recognition result indicated by the parent object.

public:
 virtual IVectorView<SpeechRecognitionResult ^> ^ GetAlternates(unsigned int maxAlternates) = GetAlternates;
IVectorView<SpeechRecognitionResult> GetAlternates(uint32_t const& maxAlternates);
public IReadOnlyList<SpeechRecognitionResult> GetAlternates(uint maxAlternates);
function getAlternates(maxAlternates)
Public Function GetAlternates (maxAlternates As UInteger) As IReadOnlyList(Of SpeechRecognitionResult)

Parameters

maxAlternates
UInt32

unsigned int

uint32_t

The maximum number of speech recognition results to return in the collection.

Returns

A collection of speech recognition results, ordered by confidence from most likely to least likely.

Applies to

See also