Share via


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] (mediaitemdisplayproperties.md) ,然後呼叫 ApplyDisplayProperties,以程式設計方式提供媒體專案的中繼資料,而不是讓系統動態載入內容中的中繼資料。 如需詳細資訊,請參閱 媒體專案、播放清單和曲目

適用於