VoiceCommandDefinition.SetPhraseListAsync Method
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.
Populates a PhraseList
element with an array of Item
elements.
public:
virtual IAsyncAction ^ SetPhraseListAsync(Platform::String ^ phraseListName, IIterable<Platform::String ^> ^ phraseList) = SetPhraseListAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SetPhraseListAsync(winrt::hstring const& phraseListName, IIterable<winrt::hstring> const& phraseList);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SetPhraseListAsync(string phraseListName, IEnumerable<string> phraseList);
function setPhraseListAsync(phraseListName, phraseList)
Public Function SetPhraseListAsync (phraseListName As String, phraseList As IEnumerable(Of String)) As IAsyncAction
Parameters
- phraseListName
-
String
Platform::String
winrt::hstring
The string that corresponds to the label attribute of the PhraseList
element.
A string array of values that will be added to the PhraseList
element as Item
elements.
Returns
A string array of values that will be added to the PhraseList element as Item elements.
- Attributes