Method ParseAbsolute
ParseAbsolute(ReadOnlySpan<char>, PathOptions)
Parses an absolute directory path using the specified options and the current platform's format.
Declaration
public static IAbsoluteDirectoryPath ParseAbsolute(ReadOnlySpan<char> path, PathOptions options = PathOptions.NoUnfriendlyNames)
Parameters
| Type | Name | Description |
|---|---|---|
| ReadOnlySpan<char> | path | An absolute directory path. |
| PathOptions | options | Specifies the path parsing options. |
Returns
| Type | Description |
|---|---|
| IAbsoluteDirectoryPath |
ParseAbsolute(ReadOnlySpan<char>, PathFormat, PathOptions)
Parses an absolute directory path using the specified format and options.
Declaration
public static IAbsoluteDirectoryPath ParseAbsolute(ReadOnlySpan<char> path, PathFormat format, PathOptions options = PathOptions.NoUnfriendlyNames)
Parameters
| Type | Name | Description |
|---|---|---|
| ReadOnlySpan<char> | path | An absolute directory path. |
| PathFormat | format | The path's format. |
| PathOptions | options | Specifies the path parsing options. |
Returns
| Type | Description |
|---|---|
| IAbsoluteDirectoryPath |