## 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, auf der die Attribute gesetzt werden sollen |
| fileAttributes | FileAttributes | Eine bitweise Kombination von [FileAttributes](../../fileattributes/)-Werten, die die zu setzenden Attribute darstellen |

## Siehe auch

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