Aracılığıyla paylaş


ContentManager Members

The following tables list the members exposed by the ContentManager type.

Public Constructors

Name Description
Public Method ContentManager Overloaded. Initializes a new instance of ContentManager.

Public Properties

Name Description
Public Property RootDirectory Gets the root directory associated with this ContentManager.
Public Property ServiceProvider Gets the service provider associated with the ContentManager.

Public Methods

Name Description
Public Method Dispose Overloaded. Releases the resources used by the ContentManager class.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method Load Loads an asset that has been processed by the Content Pipeline.
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString (Inherited from Object.)
Public Method Unload Disposes all data that was loaded by this ContentManager.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)
Protected Method OpenStream Opens a stream for reading the specified asset. Derived classes can replace this to implement pack files or asset compression.
Protected Method ReadAsset Low-level worker method that reads asset data.

See Also

Reference

ContentManager Class
Microsoft.Xna.Framework.Content Namespace