VoiceCommandSet.Language 属性

定义

获取语言 (xml:lang) 语音命令定义文件中 CommandSet 元素的值。

public:
 property Platform::String ^ Language { Platform::String ^ get(); };
winrt::hstring Language();
/// [get: Windows.Foundation.Metadata.Deprecated("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition instead of Windows.Media.SpeechRecognition.VoiceComandSet. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Phone.PhoneContract")]
winrt::hstring Language();
public string Language { get; }
public string Language { [Windows.Foundation.Metadata.Deprecated("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition instead of Windows.Media.SpeechRecognition.VoiceComandSet. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Phone.PhoneContract")] get; }
var string = voiceCommandSet.language;
Public ReadOnly Property Language As String

属性值

String

Platform::String

winrt::hstring

命令集的语言 (xml:lang) 。

属性

适用于

另请参阅