共用方式為


SpeechRecognitionGrammarFileConstraint 建構函式

定義

多載

SpeechRecognitionGrammarFileConstraint(StorageFile)

從檔案物件建立 SpeechRecognitionGrammarFileConstraint 類別的實例。

SpeechRecognitionGrammarFileConstraint(StorageFile, String)

從檔案物件和標記建立 SpeechRecognitionGrammarFileConstraint 類別的實例。

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

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

另請參閱

適用於