 | PathCombine Method (String, String) |
Combines two path strings.
Namespace: DigitalRune.StoragesAssembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntaxpublic static string Combine(
string path1,
string path2
)
Public Shared Function Combine (
path1 As String,
path2 As String
) As String
public:
static String^ Combine(
String^ path1,
String^ path2
)
static member Combine :
path1 : string *
path2 : string -> string
Parameters
- path1
- Type: SystemString
The first path. - path2
- Type: SystemString
The second path.
Return Value
Type:
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.
See Also