System.IOUtils.TPath.IsUNCRooted

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function IsUNCRooted(const Path: string): Boolean; static;

C++

static bool __fastcall IsUNCRooted(const System::UnicodeString Path);

Properties

Type Visibility Source Unit Parent
function public
System.IOUtils.pas
System.IOUtils.hpp
System.IOUtils TPath

Description

Checks whether the given path is UNC-rooted, where UNC stands for Universal Naming Convention.

Call IsUNCRooted to check whether the given path is UNC-rooted. A UNC path is prefixed with two backslash characters (for example, "\\computer\folder"). IsUNCRooted returns True if the path is UNC-rooted, or False otherwise.

On POSIX, IsUNCRooted always returns false.

See Also