Member group
Equals
Declaring type: Path
Module: System.Storage
Assembly: System.Runtime.dll
Source file: Path.rvn
Overloads / Variants
Equals
func Equals(other: Path) -> bool
Source file: Path.rvn
Implements EquatableTo<Path>.Equals
Compares accepted spellings using ordinal equality.
Parameters
| Name | Type | Description |
|---|---|---|
other |
Path | The non-null validated logical path to compare. |
Return value
True when the spellings are identical.
Remarks
Implements EquatableTo<Path>. Requires a non-null Path, matching EquatableTo<T>.Equals(T); this contract does not require nullable value types. Object.Equals(Object?) is the separate null-aware overload. No provider resolution or filesystem identity comparison is performed.
Equals
virtual override func Equals(other: object?) -> bool
Source file: Path.rvn
Overrides Object.Equals
Compares another Path by its exact accepted spelling through Object dispatch.
Parameters
| Name | Type | Description |
|---|---|---|
other |
Object? | A Path, another object, or null. |
Return value
True for a Path with identical spelling; false for null or another type.