System.IO.Win32Directory.Exists C# (CSharp) Méthode

Exists() public static méthode

public static Exists ( string filepath ) : bool
filepath string
Résultat bool
        public static bool Exists(string filepath)
        {
            uint attribs = GetFileAttributesW(Win32File.LongFileName(filepath));
            return (attribs != INVALID_FILE_ATTRIBUTES) && ((attribs & FILE_ATTRIBUTE_DIRECTORY) != 0);
        }