Summary
Combines two paths.
Syntax
[Function("combine")]
public static string Combine(string path1, string path2)
Attributes
Type |
Description |
FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
Parameters
Name |
Type |
Description |
path1 |
string |
first path |
path2 |
string |
second path |
Return Value
Type |
Description |
string |
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.
|