Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

StorageContainer.FileExists Method

Determines whether the specified path refers to an existing file in the StorageContainer.

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

public bool FileExists (
         string file


Type: String
The path and file name to test.

Return Value

true if path refers to an existing file in the StorageContainer and is not null; otherwise, false.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

© 2015 Microsoft