SpeechRecognitionGrammarFileConstraint Constructors

Definition

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

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

Applies to