Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
VoiceCommandDefinitionManager Class
Definition
- Namespace:
- Windows.ApplicationModel.VoiceCommands
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.
A static class that enables registering and using command sets from a Voice Command Data (VCD) file.
public ref class VoiceCommandDefinitionManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VoiceCommandDefinitionManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public static class VoiceCommandDefinitionManager
Public Class VoiceCommandDefinitionManager
- Inheritance
- Attributes
Windows requirements
| Requirements | Description |
|---|---|
| Device family |
Windows 10 (introduced in 10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Properties
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| InstallCommandDefinitionsFromStorageFileAsync(StorageFile) |
Installs the CommandSet elements in a Voice Command Definition (VCD) file. |
Applies to
See also
Feedback
Was this page helpful?
