## File::GetAttributes method


返回指定实体的属性。

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


| Parameter | Type | 描述 |
| --- | --- | --- |
| 路径 | const String\& | 要返回属性的实体的路径 |

### ReturnValue

由 **path** 引用的实体的属性

## 另见

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