[Extension()] public static bool TryGetDirectoryPath( string pathString, out IDirectoryPath directoryPath, out string failureReason )
Parameters
- pathString
- Represents the path.
- directoryPath
- If this method returns true, this is the returned path object.
- failureReason
- If this method returns false, this is the plain english description of the failure.
Return Value
true if pathString is a valid directory path and as a consequence, the returned directoryPath is not null.