ContainerEncodingProperties.Subtype ContainerEncodingProperties.Subtype ContainerEncodingProperties.Subtype ContainerEncodingProperties.Subtype ContainerEncodingProperties.Subtype Property

Definition

Gets or sets the subtype of the media container.

public : Platform::String Subtype { get; set; }
winrt::hstring Subtype();

void Subtype(winrt::hstring subtype);
public string Subtype { get; set; }
Public ReadWrite Property Subtype As string
var string = containerEncodingProperties.subtype;
containerEncodingProperties.subtype = string;

Property Value

string string string

The subtype.

Remarks

The value can be the string representation of a GUID in canonical form, or one of the predefined values listed in the following table.

ValueDescription
"3GP"3GP file.
"AC3"AC-3 audio.
"ADTS"Audio Data Transport Stream (ADTS) stream.
"MP3"MPEG Audio Layer-3 (MP3).
"MPEG2PS"MPEG-2 program stream.
"MPEG2TS"MPEG-2 transport stream.
"MPEG4"MP4 file container.

Warning

The string values returned by the MediaEncodingSubtypes properties may not use the same letter casing as AudioEncodingProperties.Subtype, VideoEncodingProperties.Subtype, ContainerEncodingProperties.Subtype, and ImageEncodingProperties.Subtype. For this reason, if you compare the values, you should use a case-insensitive comparison or use hardcoded strings that match the casing returned by the encoding properties.