StorageContainer.GetDirectoryNames Method (String)
Enumerates the directories in the root of a StorageContainer that conform to a search pattern.
Namespace: Microsoft.Xna.Framework.Storage
Assembly: Microsoft.Xna.Framework.Storage (in microsoft.xna.framework.storage.dll)
Syntax
public string[] GetDirectoryNames (
string searchPattern
)
Parameters
- searchPattern
Type: String
A search pattern. Both single-character ("?") and multicharacter ("*") wildcards are supported.
Return Value
An array of relative paths of directories in the root of the StorageContainer. A zero-length array specifies that there are no directories in the root.
See Also
Reference
StorageContainer Class
StorageContainer Members
Microsoft.Xna.Framework.Storage Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP