SpeechRecognitionGrammarFileConstraint Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SpeechRecognitionGrammarFileConstraint(StorageFile) |
Creates an instance of the SpeechRecognitionGrammarFileConstraint class from a file object. |
SpeechRecognitionGrammarFileConstraint(StorageFile, String) |
Creates an instance of the SpeechRecognitionGrammarFileConstraint class from a file object and a tag. |
SpeechRecognitionGrammarFileConstraint(StorageFile)
Creates an instance of the SpeechRecognitionGrammarFileConstraint class from a file object.
public:
SpeechRecognitionGrammarFileConstraint(StorageFile ^ file);
SpeechRecognitionGrammarFileConstraint(StorageFile const& file);
public SpeechRecognitionGrammarFileConstraint(StorageFile file);
function SpeechRecognitionGrammarFileConstraint(file)
Public Sub New (file As StorageFile)
Parameters
- file
- StorageFile
An object representing a Speech Recognition Grammar Specification (SRGS) grammar file.
See also
- SpeechRecognitionGrammarFileConstraint(StorageFile, String)
- Speech interactions
- Speech recognition and speech synthesis sample
Applies to
SpeechRecognitionGrammarFileConstraint(StorageFile, String)
Creates an instance of the SpeechRecognitionGrammarFileConstraint class from a file object and a tag.
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)
Parameters
- file
- StorageFile
An object representing a Speech Recognition Grammar Specification (SRGS) grammar file.
- tag
-
String
Platform::String
winrt::hstring
The tag to assign to the constraint.
See also
- SpeechRecognitionGrammarFileConstraint(StorageFile)
- Speech interactions
- Speech recognition and speech synthesis sample