BuildMaster SDK Reference
Version:

Combine(char separator, string path1, string path2) Method

Same as System.IO.Path.Combine(System.String,System.String), but specifying the directory separator character.

Syntax

public static string Combine(char separator, string path1, string path2)

Parameters

separator
Type: char

The directory separator character.

path1
Type: string

The first path.

path2
Type: string

The second path.

Returns

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.