AddTrailingSlash Method

MCManager API

Adds a trailing slash to the specified path. For example /my/path will be converted to /my/path/.

Namespace:  Moxiecode.Manager.Utils
Assembly:  MCManager (in MCManager.dll) Version: 1.0.0.0

Syntax

C#
public static string AddTrailingSlash(
	string path
)
Visual Basic (Declaration)
Public Shared Function AddTrailingSlash ( _
	path As String _
) As String
Visual C++
public:
static String^ AddTrailingSlash(
	String^ path
)

Parameters

path
Type: System..::.String
Path to add trailing slash to.

Return Value

Path with added trailing slash.

See Also