## File::SetAttributes method


يضبط السمات المحددة على الملف المحدد.

```cpp
static void System::IO::File::SetAttributes(const String &path, FileAttributes fileAttributes)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| المسار | const String\& | مسار الملف الذي سيتم تحديد الخصائص عليه |
| fileAttributes | FileAttributes | تركيبة بتية من قيم [FileAttributes](../../fileattributes/) تمثل الخصائص التي سيتم تحديدها |

## انظر أيضًا

* Class [String](../../../system/string/)
* Enum [FileAttributes](../../fileattributes/)
* Class [File](../)
* Namespace [System::IO](../../)
* Library [Aspose.Page for C++](../../../)
