## File::GetAttributes method


Returns the attributes of the specified entity.

```cpp
static FileAttributes System::IO::File::GetAttributes(const String &path)
```


| Parameter | Type | Description |
| --- | --- | --- |
| path | const String\& | The path of the entity whose attributes to return |

### ReturnValue

The attributes of the entity referenced by **path**

## See Also

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