PathAncestors Method A Sandcastle Documented Class Library
Returns all the ancestors to a path, starting with the closest.

For instance, Path.parse("/an/example/path") will return a list containing the paths: "/an/example", "/an" and "/" in that order.

Namespace:  Apptus.ESales.Connector
Assembly:  Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.0.0
Syntax

C#
public IList<Path> Ancestors()

Return Value

Type: IListPath
A list of ancestor paths
Exceptions

ExceptionCondition
IllegalStateExceptionIf this path is the root path.
See Also

Reference