PathUtil Class
Provides path utilities.
Assembly: Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | ArePathsEqual(String, String) | Determines whether two paths are equal. This method does not treat Path.DirectorySeparatorChar and Path.AltDirectorySeparatorChar as equivalent. |
![]() ![]() | ContainsReparsePoint(String, String) | Determines whether any level in the given path is a Junction, up to <pathRoot. pathRoot itself will not be included in the determination. |
![]() ![]() | GetCommonPathPrefix(String, String) | Returns the longest leading string that is common to path1 and path2.Case is not considered in the comparison. |
![]() ![]() | IsDescendant(String, String) | Determines whether a child path is a descendant of a parent directory. This is a purely textual computation indicating that child could be a descendant of parent; there is no file system interaction to determine whether child actually is a descendant of parent. |
![]() ![]() | IsDirectorySeparator(Char) | Determines whether a character is a directory separator. |
![]() ![]() | IsImplicitDirectory(String) | Determines whether the given directory is one of the implicit directories contained in all directories (i.e. "." or ".."). |
![]() ![]() | IsNormalized(String) | Determines whether the given path is in normalized form. |
![]() ![]() | IsNormalizedPath(String) | Determines whether the given path is in normalized form. |
![]() ![]() | IsReparsePoint(String) | Determines whether the given path is a Junction. |
![]() ![]() | IsRoot(String) | Determines whether the given path represents a root directory. |
![]() ![]() | Normalize(String) | Returns a normalized form of the given path. |
![]() ![]() | NormalizePath(String) | Returns a normalized form of the given path. |
![]() ![]() | SafeGetExtension(String) | Return the extension of the specified path string. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

