Method CombineFile
CombineFile(ReadOnlySpan<char>, PathOptions)
Combines this directory with a relative file path parsed using the specified options and this directory's path format.
Declaration
IFilePath CombineFile(ReadOnlySpan<char> path, PathOptions options = PathOptions.NoUnfriendlyNames)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<char> | path | The relative file path to append to this directory. |
PathOptions | options | The options to use for parsing the appended relative file path. |
Returns
Type | Description |
---|---|
IFilePath |
CombineFile(ReadOnlySpan<char>, PathFormat, PathOptions)
Combines this directory with a relative file path parsed using the specified format and options.
Declaration
IFilePath CombineFile(ReadOnlySpan<char> path, PathFormat format, PathOptions options = PathOptions.NoUnfriendlyNames)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<char> | path | The relative file path to append to this directory. |
PathFormat | format | The appended relative file path's format. |
PathOptions | options | The options to use for parsing the appended relative file path. |
Returns
Type | Description |
---|---|
IFilePath |