PathHelper.IsSubpath Method
- Namespace
- Kampute.DocToolkit.Support
- Assembly
- Kampute.DocToolkit.dll
Definition
Determines if a sub-path is a valid sub-path of a full path.
public static bool IsSubpath(string fullPath, string subPath)Parameters
Returns
Exceptions
- ArgumentNullException
- Thrown when
fullPathorsubPathisnull.

subPathis a valid sub-path of thefullPath. The match is case-insensitive.