Share via


GrammarPhrase.From(String) Method

Definition

Creates a grammar phrase using the specified phrase text.

public static Microsoft.CognitiveServices.Speech.GrammarPhrase From (string text);
static member From : string -> Microsoft.CognitiveServices.Speech.GrammarPhrase
Public Shared Function From (text As String) As GrammarPhrase

Parameters

text
String

The text representing a phrase that can be spoken by the user.

Returns

A shared pointer to a grammar phrase.

Applies to