Discuss this help topic in SecureBlackbox Forum

TElCustomFileSystemAdapter.DirectoryExists

TElCustomFileSystemAdapter     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Checks if the specified directory exists in the file system.

Declaration

[C#]
    bool DirectoryExists(string Path);

[VB.NET]
    Function DirectoryExists(ByVal Path As String) As Boolean

[Pascal]
    function DirectoryExists(const Path : string) : boolean; virtual; abstract;

[C++]
    bool DirectoryExists(const std::string &Path);

[PHP]
    bool DirectoryExists(string $Path)

[Java]
    boolean directoryExists(String arg0);

Parameters

  • Path - the path to be checked.

Return value

    Returns True if the directory, specified by Path parameter, exists in the filesystem, and False otherwise.

Description

    Use this method to check if the specified directory exists in the file system.

See also:     DirectoryMake     DirectoryRemove     EnumDirectoryEntries    

Discuss this help topic in SecureBlackbox Forum