Differences

This shows you the differences between the selected revisions of the page.

library_remotepath_getdirectoryname 2018-02-19 library_remotepath_getdirectoryname 2023-12-20 (current)
Line 20: Line 20:
===== Exceptions ===== ===== Exceptions =====
^ Exception ^ Condition ^ ^ Exception ^ Condition ^
-| ArgumentException | ''path'' is empty. |+| ArgumentException | ''path'' is empty.((Note that this behaviour is inconsistent with ''Path.GetDirectoryName'' in .NET Core 2.1 and newer, which instead returns ''null''.)) |
===== Remarks ===== ===== Remarks =====
In most cases, the string returned by this method consists of all characters in the ''path'' up to but not including the last slash (''/''). In most cases, the string returned by this method consists of all characters in the ''path'' up to but not including the last slash (''/'').
-The method is an equivalent of the standard ''[[msdn>System.IO.Path.GetDirectoryName|Path.GetDirectoryName]]'' method for remote/*nix paths.+The method is an equivalent of the standard ''[[dotnet>System.IO.Path.GetDirectoryName|Path.GetDirectoryName]]'' method for remote/*nix paths.

Last modified: by martin