System.IOUtils.TPath.IsUNCPath
Delphi
class function IsUNCPath(const Path: string): Boolean; inline; static;
C++
static bool __fastcall IsUNCPath(const System::UnicodeString Path);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | TPath |
Description
Vérifie si un chemin donné est au format UNC (Universal Naming Convention).
Appelez IsUNCPath pour vérifier si le chemin donné est au format UNC. Un chemin UNC est préfixé de deux caractères barre oblique inverse (par exemple, "\\ordinateur\dossier"). IsUNCPath renvoie true si le chemin est au format UNC ; false sinon. Le tableau suivant liste les paramètres attendus par cette méthode.
Nom | Signification |
---|---|
Path |
Le chemin vérifié. |