VoiceCommandDefinitionManager VoiceCommandDefinitionManager VoiceCommandDefinitionManager VoiceCommandDefinitionManager VoiceCommandDefinitionManager Class

Definition

A static class that enables registering and using command sets from a Voice Command Data (VCD) file.

public : static class VoiceCommandDefinitionManager
static struct winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandDefinitionManager
public static class VoiceCommandDefinitionManager
Public Shared Class VoiceCommandDefinitionManager
// 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)

Properties

InstalledCommandDefinitions InstalledCommandDefinitions InstalledCommandDefinitions InstalledCommandDefinitions InstalledCommandDefinitions

A dictionary that contains all installed command sets that have a Name attribute set in the Voice Command Definition (VCD) file.

Note

Opening an app service connection can be resource intensive. Avoid accessing this property during time-sensitive operations, especially from the UI thread or when Suspending.

Methods

InstallCommandDefinitionsFromStorageFileAsync(StorageFile) InstallCommandDefinitionsFromStorageFileAsync(StorageFile) InstallCommandDefinitionsFromStorageFileAsync(StorageFile) InstallCommandDefinitionsFromStorageFileAsync(StorageFile) InstallCommandDefinitionsFromStorageFileAsync(StorageFile)

Installs the CommandSet elements in a Voice Command Definition (VCD) file.

See Also