Aracılığıyla paylaş


ContentManager Class

The ContentManager is the run-time component which loads managed objects from the binary files produced by the design time content pipeline. It also manages the lifespan of the loaded objects, disposing the content manager will also dispose any assets which are themselves IDisposable.

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

Syntax

public class ContentManager : IDisposable

See Also

Reference

ContentManager Members
Microsoft.Xna.Framework.Content Namespace

Programming Guide

Adding Content to a Game

Platforms

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