StorageContainer.Dispose Method

Immediately releases the unmanaged resources used by this object.

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

public void Dispose ()

After the StorageContainer has been 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.

Xbox 360, Windows XP SP2, Windows Vista