Bagikan melalui


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

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