Partager via


VoiceCommandSet.Language Propriété

Définition

Obtient la valeur de langage (xml:lang) de l’élément CommandSet dans le fichier de définition de commande vocale .

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

Valeur de propriété

String

Platform::String

winrt::hstring

Langue (xml:lang) du jeu de commandes.

Attributs

S’applique à

Voir aussi