Method ParseRelative
ParseRelative(ReadOnlySpan<char>, PathOptions)
Parses a relative directory path using the specified options and the current platform's format.
Declaration
public static IRelativeDirectoryPath ParseRelative(ReadOnlySpan<char> path, PathOptions options = PathOptions.NoUnfriendlyNames)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<char> | path | A relative directory path. |
PathOptions | options | Specifies the path parsing options. |
Returns
Type | Description |
---|---|
IRelativeDirectoryPath |
ParseRelative(ReadOnlySpan<char>, PathFormat, PathOptions)
Parses a relative directory path using the specified format and options.
Declaration
public static IRelativeDirectoryPath ParseRelative(ReadOnlySpan<char> path, PathFormat format, PathOptions options = PathOptions.NoUnfriendlyNames)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<char> | path | A relative directory path. |
PathFormat | format | The path's format. |
PathOptions | options | Specifies the path parsing options. |
Returns
Type | Description |
---|---|
IRelativeDirectoryPath |