SpeechRecognitionResult.GetAlternates(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for