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