コード例 #1
0
ファイル: QuickIOFile.cs プロジェクト: nagyist/QuickIO
        /// <summary>
        /// Deletes the file.
        /// </summary>
        /// <param name="path">The fullname of the file to be deleted.</param>
        /// <remarks>http://msdn.microsoft.com/en-us/library/system.io.file.delete(v=vs.110).aspx</remarks>
        /// <exception cref="FileNotFoundException">File does not exist.</exception>
        public static void Delete(string path)
        {
            Contract.Requires(!String.IsNullOrWhiteSpace(path));

            InternalQuickIO.DeleteFile(path);
        }