System.IOUtils.TPath.IsUNCPath

De RAD Studio API Documentation
Aller à : navigation, rechercher

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é.



Voir aussi