Compartilhar via


VoiceCommandManager.InstalledCommandSets Propriedade

Definição

Um dicionário que contém todos os conjuntos de comandos instalados que têm um atributo Name definido no arquivo definição de comando de voz .

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)

Valor da propriedade

O dicionário de conjuntos de comandos instalados que têm um atributo Name definido no arquivo VCD (Definição de Comando de Voz).

Atributos

Comentários

Evite chamar essa propriedade do thread da interface do usuário. Abrir uma conexão do serviço de aplicativo pode fazer uso intensivo de recursos.

Aplica-se a

Confira também