MSDN Library
콘텐츠의 테이블 축소
콘텐츠의 테이블 확장
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

PictureCollection Class

A collection of pictures in the media library.

Namespace: Microsoft.Xna.Framework.Media
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public sealed class PictureCollection : IEnumerable<Picture>, IEnumerable, IDisposable

The PictureCollection class provides access to pictures in the device's media library.

Use the MediaLibrary.Pictures property to obtain a collection of all pictures in the media library, and use the PictureAlbum.Pictures property to obtain a collection of pictures in a particular picture album.

The PictureCollection does not immediately instantiate instances of all pictures in the collection. Instead, individual Picture objects are created each time a picture is accessed through the collection's Item indexer. See the Remarks section of Item for the resource implications of maintaining references to multiple Picture objects.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

커뮤니티 추가 항목

© 2016 Microsoft