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