VoiceCommand.CommandName 属性

定义

获取在语音命令定义 (VCD) 文件中声明的 Command 元素的 Name 属性的值。

public:
 property Platform::String ^ CommandName { Platform::String ^ get(); };
winrt::hstring CommandName();
public string CommandName { get; }
var string = voiceCommand.commandName;
Public ReadOnly Property CommandName As String

属性值

String

Platform::String

winrt::hstring

命令名称。

适用于

另请参阅