PathComponentsRemovePrefix(PathComponents) Method

Remove a path prefix from this path.

Definition

Namespace: Quine.Schemas.Core
Assembly: Quine.Schemas.Core (in Quine.Schemas.Core.dll) Version: 1.0.0+0ea0706914ee4edf2b0ed66bec3ab4d062a43b68
C#
public PathComponents RemovePrefix(
	PathComponents prefix
)

Parameters

prefix  PathComponents
Prefix to remove. Must be an actual prefix of this path.

Return Value

PathComponents

Exceptions

ArgumentOutOfRangeExceptionThe given prefix is not an actual prefix of this path - OR - the result would be an empty path.

See Also