Table of Contents

FolderPath.TerminatePath Method

Definition

Namespace
Sandcastle.Core
Assembly
Sandcastle.Core.dll

This can be used to ensure that a path is terminated with a trailing directory separator.

public static string TerminatePath(string path)

Parameters

path string

The path to check

Returns

string

The path with a trailing directory separator added if necessary.