## File::SetAttributes method


Setzt die angegebenen Attribute für die angegebene Datei.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Pfad | const String\& | Der Pfad der Datei, für die die Attribute festgelegt werden sollen |
| fileAttributes | FileAttributes | Eine bitweise Kombination von [FileAttributes](../../fileattributes/)-Werten, die die festzulegenden Attribute darstellen |

## Siehe auch

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