NDepend.API Documentation
TryGetAbsoluteFilePath(String,IAbsoluteFilePath) Method
NDepend.Path Namespace > PathHelpers Class > TryGetAbsoluteFilePath Method : TryGetAbsoluteFilePath(String,IAbsoluteFilePath) Method
Represents the path string.
If this method returns true, this is the returned path object.
Try get a new IAbsoluteFilePath object from this string.
Syntax
[Extension()]
public static bool TryGetAbsoluteFilePath( 
   string pathString,
   out IAbsoluteFilePath absoluteFilePath
)

Parameters

pathString
Represents the path string.
absoluteFilePath
If this method returns true, this is the returned path object.

Return Value

true if pathString is a valid absolute file path and as a consequence, the returned absoluteFilePath is not null.
Remarks
The path represented by this string doesn't need to exist for this operation to complete properly.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

PathHelpers Class
PathHelpers Members
Overload List