Combines two paths.
A string containing the combined paths. If one of the specified paths is a zero-length string, this method returns the other path. If path2 contains an absolute path, this method returns path2.
Exception Type | Condition |
---|---|
ArgumentException | path1 or path2 contain one or more invalid characters. |
PathFunctions Class | NAnt.Core.Functions Namespace