StorageContainer Members

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

Public Properties

Name Description
Public Property DisplayName Gets the name of the title.
Public Property IsDisposed Gets a value that indicates whether the object is disposed.
Public Property StorageDevice Gets the StorageDevice that holds the files in this container.

Public Methods

Name Description
Public Method CreateDirectory Creates a new directory in the StorageContainer scope.
Public Method CreateFile Creates a file at a specified path in the StorageContainer.
Public Method DeleteDirectory Deletes a directory in the StorageContainer scope.
Public Method DeleteFile Deletes a file in the StorageContainer.
Public Method DirectoryExists Determines whether the specified path refers to an existing directory in the StorageContainer.
Public Method Dispose Immediately releases the unmanaged resources used by this object.
Public Method Equals (Inherited from Object.)
Public Method FileExists Determines whether the specified path refers to an existing file in the StorageContainer.
Public Method GetDirectoryNames Overloaded. Enumerates the directories in the root of a StorageContainer.
Public Method GetFileNames Overloaded. Enumerates files in a StorageContainer.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method OpenFile Overloaded. Opens a file at a specified path in the StorageContainer.
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize Allows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object.
Protected Method MemberwiseClone (Inherited from Object.)

Public Events

Name Description
Public Event Disposing Occurs when Dispose is called or when this object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime.

See Also

Concepts

What Is Storage?

Reference

StorageContainer Class
Microsoft.Xna.Framework.Storage Namespace