## File::SetAttributes method


Ορίζει τα καθορισμένα χαρακτηριστικά στο καθορισμένο αρχείο.

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


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| path | const String\& | Η διαδρομή του αρχείου στο οποίο θα οριστούν τα χαρακτηριστικά |
| fileAttributes | FileAttributes | Μια δυαδική συνδυαστική τιμή των [FileAttributes](../../fileattributes/) που αντιπροσωπεύει τα χαρακτηριστικά που θα οριστούν |

## Δείτε επίσης

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