Share via


VoiceCommandDefinition Class

Definition

Enables operations on a specific installed command set.

public ref class VoiceCommandDefinition sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VoiceCommandDefinition final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class VoiceCommandDefinition
Public NotInheritable Class VoiceCommandDefinition
Inheritance
Object Platform::Object IInspectable VoiceCommandDefinition
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

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

Properties

Language

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

Name

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

Methods

SetPhraseListAsync(String, IIterable<String>)

Populates a PhraseList element with an array of Item elements.

Applies to

See also