SpeechRecognitionListConstraint Constructors
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.
Overloads
SpeechRecognitionListConstraint(IIterable<String>) |
Creates an instance of the SpeechRecognitionListConstraint class from an array of words or phrases. |
SpeechRecognitionListConstraint(IIterable<String>, String) |
Creates an instance of the SpeechRecognitionListConstraint class from an array of words or phrases and a tag. |
SpeechRecognitionListConstraint(IIterable<String>)
Creates an instance of the SpeechRecognitionListConstraint class from an array of words or phrases.
public:
SpeechRecognitionListConstraint(IIterable<Platform::String ^> ^ commands);
SpeechRecognitionListConstraint(IIterable<winrt::hstring> const& commands);
public SpeechRecognitionListConstraint(IEnumerable<string> commands);
function SpeechRecognitionListConstraint(commands)
Public Sub New (commands As IEnumerable(Of String))
Parameters
A string array of words or phrases that make up the constraint.
See also
- SpeechRecognitionListConstraint(IIterable<String>, String)
- Speech interactions
- Speech recognition and speech synthesis sample
Applies to
SpeechRecognitionListConstraint(IIterable<String>, String)
Creates an instance of the SpeechRecognitionListConstraint class from an array of words or phrases and a tag.
public:
SpeechRecognitionListConstraint(IIterable<Platform::String ^> ^ commands, Platform::String ^ tag);
SpeechRecognitionListConstraint(IIterable<winrt::hstring> const& commands, winrt::hstring const& tag);
public SpeechRecognitionListConstraint(IEnumerable<string> commands, string tag);
function SpeechRecognitionListConstraint(commands, tag)
Public Sub New (commands As IEnumerable(Of String), tag As String)
Parameters
A string array of words or phrases that make up the constraint.
- tag
-
String
Platform::String
winrt::hstring
The tag to assign to the constraint.
See also
- SpeechRecognitionListConstraint(IIterable<String>)
- Speech interactions
- Speech recognition and speech synthesis sample