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").