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.GetFileNames Method ()

Enumerates files in the root directory of a StorageContainer.

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

public string[] GetFileNames ()

Return Value

An array of relative paths of files in the root directory of StorageContainer scope. A zero-length array specifies that there are no files.

GetFileNames applies only to the root directory of the StorageContainer. It does not examine any subdirectories.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

© 2015 Microsoft