Aracılığıyla paylaş


SpeechRecognitionListConstraint Constructors

Definition

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

commands

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

A string array of words or phrases that make up the constraint.

See also

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

commands

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

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

Applies to