Intrinsics. Is PSAbsolute(String, String) Method
Determines if the given path is a drive-qualified absolute path.
public: bool IsPSAbsolute(System::String ^ path, [Runtime::InteropServices::Out] System::String ^ % driveName);
bool IsPSAbsolute(std::wstring const & path, [Runtime::InteropServices::Out] std::wstring const & & driveName);
public bool IsPSAbsolute (string path, out string driveName);
member this.IsPSAbsolute : string * -> bool
Public Function IsPSAbsolute (path As String, ByRef driveName As String) As Boolean
The path to check.
If the path is an Msh absolute path then the returned value is the name of the drive that the path is absolute to.
True if the specified path is an Msh absolute drive-qualified path. False otherwise.
path is null.
A path is an absolute drive-qualified path if it has the following