Folder PathIs Path Terminated Method
This can be used to find out if a path is terminated with a trailing directory separator.
Definition
Namespace: Sandcastle.Core
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
Returns true if it is, false if it is not.
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public static bool IsPathTerminated(
string path
)VB
Public Shared Function IsPathTerminated (
path As String
) As BooleanC++
public:
static bool IsPathTerminated(
String^ path
)F#
static member IsPathTerminated :
path : string -> bool Parameters
- path String
- The path to check
Return Value
BooleanReturns true if it is, false if it is not.