Click or drag to resize
Path Methods

The Path type exposes the following members.

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
See Also