PathHelper.IsSubpath Method
- Namespace
- Kampute.DocToolkit.Support
- Assembly
- Kampute.DocToolkit.dll
Definition
Determines whether a subpath matches the end of a full path at a path-segment boundary.
public static bool IsSubpath(string subPath, string fullPath)Parameters
Returns
Exceptions
- ArgumentNullException
- Thrown when
fullPathorsubPathisnull.
Remarks
Matching is case-insensitive. An empty subpath matches only an empty full path.
