## DirectoryInfo::get_Name method


Returns the name of the entity referred to by the path represented by the current object.

```cpp
virtual String System::IO::DirectoryInfo::get_Name() override
```

## See Also

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