System::IO::File::SetAttributes 方法
File::SetAttributes method
为指定文件设置指定的属性。
static void System::IO::File::SetAttributes(const String &path, FileAttributes fileAttributes)
| 参数 | 类型 | 描述 |
|---|---|---|
| 路径 | const String& | 要设置属性的文件的路径 |
| fileAttributes | FileAttributes | 表示要设置的属性的 FileAttributes 值的按位组合 |
另见
- Class String
- Enum FileAttributes
- Class File
- Namespace System::IO
- Library Aspose.Font for C++