StorageContainer.Dispose Method

Immediately releases the unmanaged resources used by this object.

Namespace: Microsoft.Xna.Framework.Storage
Assembly: Microsoft.Xna.Framework.Storage (in

public void Dispose ()

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.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions