Share via


MediaElement.GetAudioStreamLanguage(IReference<Int32>) Method

Definition

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<Int32>

Nullable<Int32>

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

String

Platform::String

winrt::hstring

The RFC 1766 language for the specified audio stream, expressed as a string (for example, "en-us").

Applies to