MediaPlaybackItem.AutoLoadedDisplayProperties 属性

定义

获取或设置一个值,该值指定系统应自动加载要在系统媒体传输控件中显示的元数据类型(如果有)。

public:
 property AutoLoadedDisplayPropertyKind AutoLoadedDisplayProperties { AutoLoadedDisplayPropertyKind get(); void set(AutoLoadedDisplayPropertyKind value); };
AutoLoadedDisplayPropertyKind AutoLoadedDisplayProperties();

void AutoLoadedDisplayProperties(AutoLoadedDisplayPropertyKind value);
public AutoLoadedDisplayPropertyKind AutoLoadedDisplayProperties { get; set; }
var autoLoadedDisplayPropertyKind = mediaPlaybackItem.autoLoadedDisplayProperties;
mediaPlaybackItem.autoLoadedDisplayProperties = autoLoadedDisplayPropertyKind;
Public Property AutoLoadedDisplayProperties As AutoLoadedDisplayPropertyKind

属性值

一个 值,该值指定系统应自动加载和显示元数据的媒体内容类型。

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

注解

可以通过调用 GetDisplayProperties、设置返回的 [MediaItemDisplayProperties] 的数据 (mediaitemdisplayproperties.md) ,然后调用 ApplyDisplayProperties,以编程方式为媒体项提供元数据,而不是让系统动态加载内容中的元数据。 有关详细信息,请参阅 媒体项、播放列表和曲目

适用于