Share via


VoiceCommandDefinitionManager.InstalledCommandDefinitions 属性

定义

包含所有已安装的命令集的字典,这些命令集在语音命令定义 (VCD) 文件中设置了 Name 属性。

注意

打开应用服务连接可能会占用大量资源。 避免在时间敏感操作期间访问此属性,尤其是从 UI 线程或 挂起时访问此属性。

public:
 static property IMapView<Platform::String ^, VoiceCommandDefinition ^> ^ InstalledCommandDefinitions { IMapView<Platform::String ^, VoiceCommandDefinition ^> ^ get(); };
static IMapView<winrt::hstring, VoiceCommandDefinition const&> InstalledCommandDefinitions();
public static IReadOnlyDictionary<string,VoiceCommandDefinition> InstalledCommandDefinitions { get; }
var iMapView = VoiceCommandDefinitionManager.installedCommandDefinitions;
Public Shared ReadOnly Property InstalledCommandDefinitions As IReadOnlyDictionary(Of String, VoiceCommandDefinition)

属性值

已安装命令集的字典,这些命令集在语音命令定义 (VCD) 文件中设置了 Name 属性。

适用于

另请参阅