Combines an arbitrary number of paths.

Namespace: EnterpriseDT.Util
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0

Syntax

C#
public static string Combine(
	char separator,
	string path1,
	string path2,
	params string[] pathN
)
Visual Basic
Public Shared Function Combine ( _
	separator As Char, _
	path1 As String, _
	path2 As String, _
	ParamArray pathN As String() _
) As String
Visual C++
public:
static String^ Combine(
	wchar_t separator, 
	String^ path1, 
	String^ path2, 
	... array<String^>^ pathN
)

Parameters

separator
Type: System..::..Char
path1
Type: System..::..String
Left part of path.
path2
Type: System..::..String
Second-from-left part of path.
pathN
Type: array<System..::..String>[]()[][]
Rest of path.

Return Value

Combined path.

See Also