System.IOUtils.TPath.IsUNCRooted
Delphi
class function IsUNCRooted(const Path: string): Boolean; static;
C++
static bool __fastcall IsUNCRooted(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 le chemin donné est à racine UNC (Universal Naming Convention).
Appelez IsUNCRooted pour vérifier si le chemin donné est à racine UNC. Un chemin UNC est préfixé de deux caractères barre oblique inverse (par exemple, "\\ordinateur\dossier"). IsUNCRooted renvoie True si le chemin est à racine UNC, ou False sinon.