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