StorageContainer.Dispose Method

Immediately releases the unmanaged resources used by this object.

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

Syntax

public void Dispose ()

Remarks

After the StorageContainer is opened on a StorageDevice, changes to the files within the container are cached until the container is disposed. If the storage device is removed or the Xbox 360 is powered down before the container is disposed, any changes are lost.

See Also

Reference

StorageContainer Class
StorageContainer Members
BeginOpenContainer
Microsoft.Xna.Framework.Storage Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP