Discuss this help topic in SecureBlackbox Forum

TElCustomFileSystemAdapter.NameMatchesMask

TElCustomFileSystemAdapter     


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


Checks if the file name mathches the specified mask.

Declaration

[C#]
    bool NameMatchesMask(string Path, string Mask);

[VB.NET]
    Function NameMatchesMask(ByVal Path As String, ByVal Mask As String) As Boolean

[Pascal]
    function NameMatchesMask(const Path, Mask : string) : boolean; virtual;

[C++]
    bool NameMatchesMask(const std::string &Path, const std::string &Mask);

[PHP]
    bool NameMatchesMask(string $Path, string $Mask)

[Java]
    boolean nameMatchesMask(String Path, String Mask);

Parameters

  • Path - specifies the file which name to be checked.
  • Mask - the file mask.

Return value

    Returns True if the file name matches the specified mask, and False otherwise.

Description

    Use this method to check if certain file name matches the specified mask.

Discuss this help topic in SecureBlackbox Forum