VoiceCommandManager.InstalledCommandSets Property

Definition

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

public:
 static property IMapView<Platform::String ^, VoiceCommandSet ^> ^ InstalledCommandSets { IMapView<Platform::String ^, VoiceCommandSet ^> ^ get(); };
static IMapView<winrt::hstring, VoiceCommandSet const&> InstalledCommandSets();
/// [get: Windows.Foundation.Metadata.Deprecated("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager instead of Windows.Media.SpeechRecognition.VoiceComandManager. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Phone.PhoneContract")]
static IMapView<winrt::hstring, VoiceCommandSet const&> InstalledCommandSets();
public static IReadOnlyDictionary<string,VoiceCommandSet> InstalledCommandSets { get; }
public static IReadOnlyDictionary<string,VoiceCommandSet> InstalledCommandSets { [Windows.Foundation.Metadata.Deprecated("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager instead of Windows.Media.SpeechRecognition.VoiceComandManager. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Phone.PhoneContract")] get; }
var iMapView = VoiceCommandManager.installedCommandSets;
Public Shared ReadOnly Property InstalledCommandSets As IReadOnlyDictionary(Of String, VoiceCommandSet)

Property Value

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

Attributes

Remarks

Avoid calling this property from the UI thread. Opening an app service connection can be resource intensive.

Applies to

See also