Click or drag to resize
Path Class
Convenience class for working with panel paths.
Inheritance Hierarchy
SystemObject
  Apptus.ESales.ConnectorPath

Namespace:  Apptus.ESales.Connector
Assembly:  Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.5.0
Syntax
C#
public class Path : IComparable<Path>

The Path type exposes the following members.

Properties
  NameDescription
Public propertyHasParent
True if this path has a parent.
Public propertyIsRoot
True if this path is the root path.
Public propertyLength
The length of this path.
Public propertySimpleName
The simple name of this path.
Top
Methods
  NameDescription
Public methodAncestor
Returns the ancestor of the specified length.
Public methodAncestors
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.

Public methodChild
Construct a child path of this using the specified name.
Public methodCompareTo
Compares the current object with another object of the same type.
Public methodDescendant
Construct a new path by adding the endPath to this path.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Overrides ObjectEquals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.)
Public methodGetType (Inherited from Object.)
Public methodHasAncestor
True if this path has the specified ancestor.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodParent
Get the parent Path of this path.
Public methodStatic memberParse
Create a new Path from the specified string argument path.
Public methodToString
Returns a String that represents the current Object.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldStatic memberRoot
The root path
Public fieldStatic memberSeparator
Path separator
Top
See Also