Discuss this help topic in SecureBlackbox Forum

TElCustomFileSystemAdapter.DirectoryExists

TElCustomFileSystemAdapter     See also     


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


Checks if the specified directory exists in the file system.

Declaration

[C#/Java]
    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)

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