System.IO.Win32File.Exists C# (CSharp) 메소드

Exists() 공개 정적인 메소드

public static Exists ( string filepath ) : bool
filepath string
리턴 bool
        public static bool Exists(string filepath)
        {
            uint attribs = GetFileAttributesW(LongFileName(filepath));
            return (attribs != INVALID_FILE_ATTRIBUTES) && ((attribs & FILE_ATTRIBUTE_DIRECTORY) == 0);
        }