다음을 통해 공유


MediaControl.AlbumArt 속성

정의

참고

MediaControl은 Windows 8.1 후 릴리스에 대해 변경되거나 사용할 수 없습니다. 대신 SystemMediaTransportControls를 사용합니다.

앨범 표지의 아트워크 경로를 가져오거나 설정합니다.

public:
 static property Uri ^ AlbumArt { Uri ^ get(); void set(Uri ^ value); };
/// [get: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Media.MediaControlContract)]
/// [set: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Media.MediaControlContract)]
static Uri AlbumArt();

static void AlbumArt(Uri value);
/// [get: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Media.MediaControlContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Media.MediaControlContract")]
static Uri AlbumArt();

static void AlbumArt(Uri value);
public static System.Uri AlbumArt { [Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Media.MediaControlContract))] get; [Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Media.MediaControlContract))] set; }
public static System.Uri AlbumArt { [Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Media.MediaControlContract")] get; [Windows.Foundation.Metadata.Deprecated("MediaControl may be altered or unavailable for releases after Windows 8.1. Instead, use SystemMediaTransportControls.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Media.MediaControlContract")] set; }
var uri = MediaControl.albumArt;
MediaControl.albumArt = uri;
Public Shared Property AlbumArt As Uri

속성 값

앨범 표지의 아트워크 경로입니다.

특성

설명

album art 속성에 잘못된 경로를 제공하면 예외가 throw됩니다. 유효한 URI 형식은 ms-appx:// 및 ms-appdata://.

적용 대상