Catel.IO.Path.GetDirectoryName C# (CSharp) Méthode

GetDirectoryName() public static méthode

Gets the name of the directory.
The is null or whitespace.
public static GetDirectoryName ( string path ) : string
path string The path to get the directory name from.
Résultat string
        public static string GetDirectoryName(string path)
        {
            Argument.IsNotNullOrWhitespace("path", path);

            return GetParentDirectory(path);
        }