コード例 #1
0
ファイル: LongPathCommon.cs プロジェクト: topcss/LongPath
        /// <summary>
        /// Determines whether the specified <paramref name="path"/> exists.
        /// </summary>
        /// <param name="path">The path.</param>
        /// <returns><see langword="true"/>, if the <paramref name="path"/> given exists; otherwise, <see langword="false"/>.</returns>
        /// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/> or empty.</exception>
        public static bool Exists(string path)
        {
            bool isDirectory;

            return(LongPathCommon.Exists(path, out isDirectory));
        }