Click or drag to resize

PathSegmentList Class

A utility class that represents a file or directory path, using its segments.
Inheritance Hierarchy
SystemObject
  callback.ShellBoost.Core.UtilitiesPathSegmentList

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public sealed class PathSegmentList : IEquatable<PathSegmentList>, 
	IComparable, IComparable<PathSegmentList>

The PathSegmentList type exposes the following members.

Constructors
  NameDescription
Public methodPathSegmentList(IEnumerableString, StringComparer)
Initializes a new instance of the PathSegmentList class. The component must be valid file components.
Public methodPathSegmentList(String, StringComparer)
Initializes a new instance of the PathSegmentList class. The file path must be valid file
Top
Properties
  NameDescription
Public propertyStatic memberEmpty
Gets the empty PathSegmentList instance.
Public propertyFullPath
Gets the full path that this instance represents.
Public propertyIsAbsolute
Gets a value that indicates if this instance represents an absolute path.
Public propertyIsDevice
Gets a value that indicates if this instance represents a path in the device namespace.
Public propertyIsDrive
Gets a value that indicates if this instance represents a path below a logical drive (letter).
Public propertyIsLong
Gets a value that indicates if this instance represents a path with the \\?\ prefix.
Public propertyIsRelative
Gets a value that indicates if this instance represents a relative path.
Public propertyIsUnc
Gets a value that indicates if this instance represents a UNC path.
Public propertyLast
Gets the last segment of this instance.
Public propertyParent
Gets the parent instance.
Public propertyParents
Gets a list of all its parents.
Public propertySegments
Gets the list of segments composing this instance.
Public propertyStringComparer
The comparer used when comparing segments.
Public propertyThisAndParents
Gets this and a list of all its parents.
Top
Methods
  NameDescription
Public methodClone
Clone this instance.
Public methodCombine
Add segments of another list to this instance.
Public methodCompareTo
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(PathSegmentList)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Serves as the hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStartWith
Determines if this instances starts with the same segment as the one from another instance.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the == operator.
Public operatorStatic memberInequality
Implements the != operator.
Top
See Also