FileMode 枚举 .NET Framework 4.6 and 4.5 其他版本 指定操作系统打开文件的方式。 命名空间: System.IO 程序集: mscorlib(在 mscorlib.dll 中) System.IO.FileSystem.Primitives(在 System.IO.FileSystem.Primitives.dll 中) 语法 C# C++ F# VB