Share via


StorageContainer.DirectoryExists Method

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

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

Syntax

public bool DirectoryExists (
         string directory
)

Parameters

  • directory
    Type: String
    The path to test.

Return Value

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

See Also

Reference

StorageContainer Class
StorageContainer Members
Microsoft.Xna.Framework.Storage Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP