SpeechRecognitionListConstraint 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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))
參數
另請參閱
適用於
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)
參數
- tag
-
String
Platform::String
winrt::hstring
要指派給條件約束的標記。