VoiceCommandManager.InstalledCommandSets Proprietà

Definizione

Dizionario che contiene tutti i set di comandi installati che dispongono di un attributo Name impostato nel file Definizione comando vocale .

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)

Valore della proprietà

Dizionario dei set di comandi installati con un attributo Name impostato nel file VCD (Voice Command Definition).

Attributi

Commenti

Evitare di chiamare questa proprietà dal thread dell'interfaccia utente. L'apertura di una connessione al servizio app può essere intensivo delle risorse.

Si applica a

Vedi anche