使用英语阅读

通过


VoiceCommandDefinition.SetPhraseListAsync 方法

定义

PhraseList使用元素数组Item填充元素。

C#
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SetPhraseListAsync(string phraseListName, IEnumerable<string> phraseList);

参数

phraseListName
String

与元素的 label 属性 PhraseList 对应的字符串。

phraseList

IEnumerable<String>

将作为Item元素添加到元素的值的PhraseList字符串数组。

返回

将作为 Item 元素添加到 PhraseList 元素的值的字符串数组。

属性

适用于

另请参阅