VoiceCommandSet.Language 屬性

定義

取得語音命令定義檔案中CommandSet元素的語言 (xml:lang) 值。

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) 。

屬性

適用於

另請參閱