Delen via


MediaStreamSource.Thumbnail Property

Definition

Gets or sets the thumbnail which is a reference to a stream for a video thumbnail image or music album art.

public:
 property IRandomAccessStreamReference ^ Thumbnail { IRandomAccessStreamReference ^ get(); void set(IRandomAccessStreamReference ^ value); };
IRandomAccessStreamReference Thumbnail();

void Thumbnail(IRandomAccessStreamReference value);
public IRandomAccessStreamReference Thumbnail { get; set; }
var iRandomAccessStreamReference = mediaStreamSource.thumbnail;
mediaStreamSource.thumbnail = iRandomAccessStreamReference;
Public Property Thumbnail As IRandomAccessStreamReference

Property Value

The reference to the thumbnail stream.

Remarks

The stream is treated as a video thumbnail if the MediaStreamSource has at least one video stream; otherwise, the stream is treated as music album art.

Applies to