MediaElement.GetAudioStreamLanguage(IReference<Int32>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the RFC 1766 language for the specified audio stream.
public:
virtual Platform::String ^ GetAudioStreamLanguage(IReference<int> ^ index) = GetAudioStreamLanguage;
winrt::hstring GetAudioStreamLanguage(IReference<int> const& index);
public string GetAudioStreamLanguage(System.Nullable<int> index);
function getAudioStreamLanguage(index)
Public Function GetAudioStreamLanguage (index As Nullable(Of Integer)) As String
Parameters
- index
-
IReference<int>
The index of the stream to get the language for.
If you are programming using C#or Microsoft Visual Basic, the type of this parameter is projected as int?(a nullable integer).
Returns
The RFC 1766 language for the specified audio stream, expressed as a string (for example, "en-us").
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for