VoiceCommandDefinition クラス

定義

インストールされている特定のコマンド セットに対する操作を有効にします。

public ref class VoiceCommandDefinition sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VoiceCommandDefinition final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class VoiceCommandDefinition
Public NotInheritable Class VoiceCommandDefinition
継承
Object Platform::Object IInspectable VoiceCommandDefinition
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

InstalledCommandDefinitions プロパティにアクセスして、このクラスのインスタンスを取得します。

プロパティ

Language

音声コマンド定義 (VCD) ファイル内の 要素のCommandSet言語 (xml:lang) 値を取得します。

Name

Name音声コマンド定義 (VCD) ファイル内の CommandSet 要素の属性値を取得します。

メソッド

SetPhraseListAsync(String, IIterable<String>)

要素に要素のPhraseListItem配列を設定します。

適用対象

こちらもご覧ください