共用方式為


SpeechRecognitionListConstraint 建構函式

定義

多載

SpeechRecognitionListConstraint(IIterable<String>)

從單字或片語陣列建立 SpeechRecognitionListConstraint 類別的實例。

SpeechRecognitionListConstraint(IIterable<String>, String)

從單字或片語和標記陣列建立 SpeechRecognitionListConstraint 類別的實例。

SpeechRecognitionListConstraint(IIterable<String>)

從單字或片語陣列建立 SpeechRecognitionListConstraint 類別的實例。

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))

參數

commands

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

組成條件約束之單字或片語的字串陣列。

另請參閱

適用於

SpeechRecognitionListConstraint(IIterable<String>, String)

從單字或片語和標記陣列建立 SpeechRecognitionListConstraint 類別的實例。

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)

參數

commands

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

組成條件約束之單字或片語的字串陣列。

tag
String

Platform::String

winrt::hstring

要指派給條件約束的標記。

另請參閱

適用於