VoiceCommandSet
VoiceCommandSet
VoiceCommandSet
VoiceCommandSet
Class
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
> [!NOTE]
VoiceCommandSet may be altered or unavailable for releases after Windows Phone 8.1. Instead, use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition.
Enables operations on a specific installed command set.
public : sealed class VoiceCommandSet : IVoiceCommandSetpublic sealed class VoiceCommandSet : IVoiceCommandSetPublic NotInheritable Class VoiceCommandSet Implements IVoiceCommandSet// You can use this class in JavaScript.
- Attributes
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Phone.PhoneContract (introduced v1)
|
Remarks
Access the VoiceCommandManager.InstalledCommandSets property to obtain an instance of this class.
Properties
Language Language Language Language
Gets the language (xml:lang) value of the CommandSet element in the file.
public : PlatForm::String Language { get; }public string Language { get; }Public ReadOnly Property Language As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The language (xml:lang) of the command set.
- See Also
Name Name Name Name
Gets the Name attribute value of the CommandSet element in the file.
public : PlatForm::String Name { get; }public string Name { get; }Public ReadOnly Property Name As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The Name attribute value of the CommandSet element.
- See Also
Methods
SetPhraseListAsync(String, IIterable)
SetPhraseListAsync(String, IIterable)
SetPhraseListAsync(String, IIterable)
SetPhraseListAsync(String, IIterable)
Prerelease. Populates a PhraseList element with an array of Item elements.
public : IAsyncAction SetPhraseListAsync(PlatForm::String phraseListName, IIterable<PlatForm::String> phraseList)public IAsyncAction SetPhraseListAsync(String phraseListName, IEnumerable<String> phraseList)Public Function SetPhraseListAsync(phraseListName As String, phraseList As IEnumerable<String>) As IAsyncAction// You can use this method in JavaScript.
- phraseListName
- PlatForm::String String String String
The string that corresponds to the label attribute of the PhraseList element.
- phraseList
- IIterable<PlatForm::String> IEnumerable<String> IEnumerable<String> IEnumerable<String>
A string array of values that will be added to the PhraseList element as Item elements.
An asynchronous action.
- See Also