阿里绿网网站违规,网站404页面设置,网站建,品牌形象策划System.IO.Path.GetFileName(filename) //返回带扩展名的文件名System.IO.Path.GetFileNameWithoutExtension(filename) //返回不带扩展名的文件名 System.IO.Path.GetFullPath(filename) //返回文件所在目录及文件名 System.IO.Path.GetDirectoryName(filename) //返回文件所在…System.IO.Path.GetFileName(filename) //返回带扩展名的文件名System.IO.Path.GetFileNameWithoutExtension(filename) //返回不带扩展名的文件名 System.IO.Path.GetFullPath(filename) //返回文件所在目录及文件名 System.IO.Path.GetDirectoryName(filename) //返回文件所在目录 System.IO.Path.GetExtension(filepath) //返回指定的路径字符串的扩展名 char[] System.IO.Path.GetInvalidFileNameChars(filename) //获取包含不允许在文件名中使用的字符的数组 char[] System.IO.Path.GetInvalidPathChars(filepath) //获取包含不允许在路径名中使用的字符的数组 System.IO.Path.GetPathRoot(filepath) //获取制定路径的根目录的信息 System.IO.Path.GetRandomFileName(filename) //返回随机文件夹名或文件名 System.IO.Path.GetTempFileName(filename) //创建磁盘上唯一命名的零字节的临时文件并返回该文件的完整路径。 System.IO.Path.GetTempPath(filename) //返回当前系统的临时文件夹的路径转载于:https://www.cnblogs.com/mvv118/p/3638258.html