Click or drag to resize
PathAncestors Method
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.5.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