Share via


VoiceCommand.CommandName Property

Definition

Gets the value of the Name attribute for the Command element declared in the Voice Command Definition (VCD) file.

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

Property Value

String

Platform::String

winrt::hstring

The command name.

Applies to

See also