SpeechRecognitionGrammarFileConstraint 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SpeechRecognitionGrammarFileConstraint(StorageFile)
從檔案物件建立 SpeechRecognitionGrammarFileConstraint 類別的實例。
public:
SpeechRecognitionGrammarFileConstraint(StorageFile ^ file);
SpeechRecognitionGrammarFileConstraint(StorageFile const& file);
public SpeechRecognitionGrammarFileConstraint(StorageFile file);
function SpeechRecognitionGrammarFileConstraint(file)
Public Sub New (file As StorageFile)
參數
- file
- StorageFile
物件,表示 SRGS) 文法檔案 (語音辨識文法規格。
另請參閱
適用於
SpeechRecognitionGrammarFileConstraint(StorageFile, String)
從檔案物件和標記建立 SpeechRecognitionGrammarFileConstraint 類別的實例。
public:
SpeechRecognitionGrammarFileConstraint(StorageFile ^ file, Platform::String ^ tag);
SpeechRecognitionGrammarFileConstraint(StorageFile const& file, winrt::hstring const& tag);
public SpeechRecognitionGrammarFileConstraint(StorageFile file, string tag);
function SpeechRecognitionGrammarFileConstraint(file, tag)
Public Sub New (file As StorageFile, tag As String)
參數
- file
- StorageFile
物件,表示 SRGS) 文法檔案 (語音辨識文法規格。
- tag
-
String
Platform::String
winrt::hstring
要指派給條件約束的標記。
另請參閱
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應