Sitecore 5.1.1 API

MainUtil.MakePath Method 

NOTE: This method is now obsolete.

Please use FileUtil.MakePath


Makes a path from two filename parts.

[Visual Basic]
Public Shared Function MakePath( _
   ByVal part1 As String, _
   ByVal part2 As String, _
   ByVal separator As Char _
) As String
[C#]
public static string MakePath(
   string part1,
   string part2,
   char separator
);

Parameters

part1
The first part of the filename.
part2
The second part of the filename.
separator
A seperator character.

Return Value

The two parts concatenated with the seperator in between.

Remarks

This function is deprecated - please use FileUtil.MakePath instead.

See Also

MainUtil Class | Sitecore Namespace