Show: Delphi
C++
Display Preferences
System.IOUtils.TPath.IsValidFileNameChar
From XE2 API Documentation
Delphi
class function IsValidFileNameChar(const AChar: Char): Boolean; inline; static;
C++
static bool __fastcall IsValidFileNameChar(const System::WideChar AChar);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | TPath |
Description
Checks whether a given character is allowed in a file name.
Call IsValidFileNameChar to check whether a given character is allowed in a file name string. IsValidFileNameChar returns true if the character is allowed; and false otherwise. The following table lists the parameters this method expects:
| Name | Meaning |
|---|---|
|
AChar |
The verified character |