FileMatchesMask Method

Checks whether a particular file or directory name matches the specified mask.


public bool FileMatchesMask(string mask, string fileName, bool caseSensitive);
Public Function FileMatchesMask(ByVal Mask As String, ByVal FileName As String, ByVal CaseSensitive As Boolean) As Boolean


This method checks whether the file or directory name specified by FileName matches Mask; if it does, this method returns true. The CaseSensitive parameter controls whether a case-sensitive match should be performed.

Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Vault 2020 .NET Edition - Version 20.0 [Build 7982]