SrgsSubset.Text 属性

定义

以字符串形式获取或设置包含需匹配的朗读短语部分的字符串。Gets or sets as string that contains the portion of a spoken phrase to be matched.

public:
 property System::String ^ Text { System::String ^ get(); void set(System::String ^ value); };
public string Text { get; set; }
member this.Text : string with get, set
Public Property Text As String

属性值

String

包含要匹配的一个调用的声明部分的字符串。A string that contains the portion of a spoken phrase to be matched.

例外

试图将 Text 设置为 null 或空字符串。An attempt is made to set Text to null or to an empty string.

尝试使用仅包含空白字符 (' ', '\t', '\n', '\r') 的字符串设置 TextAn attempt is made to set Text using a string that contains only white space characters (' ', '\t', '\n', '\r').

适用于