VoiceCommandManager.InstallCommandSetsFromStorageFileAsync メソッド

定義

CommandSet 要素を音声コマンド定義ファイルにインストールします。

public:
 static IAsyncAction ^ InstallCommandSetsFromStorageFileAsync(StorageFile ^ file);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction InstallCommandSetsFromStorageFileAsync(StorageFile const& file);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [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 IAsyncAction InstallCommandSetsFromStorageFileAsync(StorageFile const& file);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction InstallCommandSetsFromStorageFileAsync(StorageFile file);
[Windows.Foundation.Metadata.RemoteAsync]
[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")]
public static IAsyncAction InstallCommandSetsFromStorageFileAsync(StorageFile file);
function installCommandSetsFromStorageFileAsync(file)
Public Shared Function InstallCommandSetsFromStorageFileAsync (file As StorageFile) As IAsyncAction

パラメーター

file
StorageFile

音声コマンド定義 (VCD) ファイルを表す オブジェクト。

戻り値

非同期アクション。

属性

注釈

UI スレッドでこの呼び出しを待機すると、アプリの読み込みが遅れる可能性があります。

適用対象

こちらもご覧ください