Partager via


PathUtil.ContainsReparsePoint(String, String) Method

Definition

Determines if any level in the given path is a Junction, up to pathRoot (pathRoot itself will not be included in the determination)

 static bool ContainsReparsePoint(std::wstring const & path, std::wstring const & pathRoot = null);
public static bool ContainsReparsePoint (string path, string pathRoot = default);
static member ContainsReparsePoint : string * string -> bool
Public Function ContainsReparsePoint (path As String, Optional pathRoot As String = Nothing) As Boolean

Parameters

path
String

Path to a directory

pathRoot
String

Path to a parent directory of path

Returns

True if any directory between path and pathRoot is a Junction. False otherwise.

Applies to