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.2.1
Syntax
C#
public IList<Path> Ancestors()
Return Value
Type: IListPathA list of ancestor paths
Exceptions
| Exception | Condition | 
|---|---|
| IllegalStateException | If this path is the root path. | 
See Also