VoiceCommandDefinition VoiceCommandDefinition VoiceCommandDefinition VoiceCommandDefinition VoiceCommandDefinition Class

Definition

Enables operations on a specific installed command set.

public : sealed class VoiceCommandDefinition
struct winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandDefinition
public sealed class VoiceCommandDefinition
Public NotInheritable Class VoiceCommandDefinition
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Access the InstalledCommandDefinitions property to obtain an instance of this class.

Properties

Language Language Language Language Language

Gets the language (xml:lang) value of the CommandSet element in the Voice Command Definition (VCD) file.

Name Name Name Name Name

Gets the Name attribute value of the CommandSet element in the Voice Command Definition (VCD) file.

Methods

SetPhraseListAsync(String, IIterable<String>) SetPhraseListAsync(String, IIterable<String>) SetPhraseListAsync(String, IIterable<String>) SetPhraseListAsync(String, IIterable<String>) SetPhraseListAsync(String, IIterable<String>)

Populates a PhraseList element with an array of Item elements.

See also