## Path::GetDirectoryName method


Devuelve el nombre del directorio referenciado por la ruta especificada.

```cpp
static String System::IO::Path::GetDirectoryName(const String &path)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| ruta | const String\& | Una ruta a un directorio |

### ReturnValue

El nombre del directorio

## Ver también

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