PathUtil Class

Visual Studio 2015
 

Provides path utilities.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

System.Object
  Microsoft.VisualStudio.PlatformUI.PathUtil

public static class PathUtil

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticArePathsEqual(String, String)

Determines whether two paths are equal. This method does not treat Path.DirectorySeparatorChar and Path.AltDirectorySeparatorChar as equivalent.

System_CAPS_pubmethodSystem_CAPS_staticContainsReparsePoint(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.

System_CAPS_pubmethodSystem_CAPS_staticGetCommonPathPrefix(String, String)

Returns the longest leading string that is common to path1 and path2.Case is not considered in the comparison.

System_CAPS_pubmethodSystem_CAPS_staticIsDescendant(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.

System_CAPS_pubmethodSystem_CAPS_staticIsDirectorySeparator(Char)

Determines whether a character is a directory separator.

System_CAPS_pubmethodSystem_CAPS_staticIsImplicitDirectory(String)

Determines whether the given directory is one of the implicit directories contained in all directories (i.e. "." or "..").

System_CAPS_pubmethodSystem_CAPS_staticIsNormalized(String)

Determines whether the given path is in normalized form.

System_CAPS_pubmethodSystem_CAPS_staticIsNormalizedPath(String)

Determines whether the given path is in normalized form.

System_CAPS_pubmethodSystem_CAPS_staticIsReparsePoint(String)

Determines whether the given path is a Junction.

System_CAPS_pubmethodSystem_CAPS_staticIsRoot(String)

Determines whether the given path represents a root directory.

System_CAPS_pubmethodSystem_CAPS_staticNormalize(String)

Returns a normalized form of the given path.

System_CAPS_pubmethodSystem_CAPS_staticNormalizePath(String)

Returns a normalized form of the given path.

System_CAPS_pubmethodSystem_CAPS_staticSafeGetExtension(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.

Return to top
Show: