System.IOUtils.TPath.IsUNCPath
Delphi
class function IsUNCPath(const Path: string): Boolean; inline; static;
C++
static bool __fastcall IsUNCPath(const System::UnicodeString Path);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.IOUtils.pas System.IOUtils.hpp |
System.IOUtils | TPath |
Description
Checks whether a given path is in UNC (Universal Naming Convention) format.
Call IsUNCPath to check whether the given path is in UNC format. A UNC path is prefixed with two backslash characters (e.g. "\\computer\folder"). IsUNCPath returns true if the path is in UNC format; false otherwise.
The following table lists the parameters expected by this method:
Name | Meaning |
---|---|
Path |
The verified path |