StorageContainer.CreateFile Method
Creates a file at a specified path in the StorageContainer.
Namespace: Microsoft.Xna.Framework.Storage
Assembly: Microsoft.Xna.Framework.Storage (in microsoft.xna.framework.storage.dll)
Syntax
public Stream CreateFile (
string file
)
Parameters
- file
Type: String
The relative path of the file to be created in the StorageContainer.
Return Value
A new file with read/write access.
See Also
Reference
StorageContainer Class
StorageContainer Members
Microsoft.Xna.Framework.Storage Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP