## Path::Combine(const ArrayPtr\<String\>\&) method


Combine les segments de chemin spécifiés en un seul chemin en insérant des caractères de séparateur de répertoire entre les segments si nécessaire.

```cpp
static String System::IO::Path::Combine(const ArrayPtr<String> &paths)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| chemins | const ArrayPtr\<String\>\& | Un tableau contenant les segments de chemin à combiner |

### ReturnValue

Le chemin combiné

## Voir aussi

* Class [String](../../../system/string/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [Path](../)
* Namespace [System::IO](../../)
* Library [Aspose.Page for C++](../../../)
## Path::Combine(const String\&, const String\&) method


Combine deux segments de chemin spécifiés en un seul chemin en insérant un caractère séparateur de répertoire entre les segments si nécessaire.

```cpp
static String System::IO::Path::Combine(const String &path1, const String &path2)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| path1 | const String\& | Le premier segment de chemin |
| path2 | const String\& | Le deuxième segment de chemin |

### ReturnValue

Le chemin combiné

## Voir aussi

* Class [String](../../../system/string/)
* Class [Path](../)
* Namespace [System::IO](../../)
* Library [Aspose.Page for C++](../../../)
## Path::Combine(const String\&, const String\&, const String\&) method


Combine trois segments de chemin spécifiés en un seul chemin en insérant des caractères séparateurs de répertoire entre les segments si nécessaire.

```cpp
static String System::IO::Path::Combine(const String &path1, const String &path2, const String &path3)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| path1 | const String\& | Le premier segment de chemin |
| path2 | const String\& | Le deuxième segment de chemin |
| path3 | const String\& | Le troisième segment de chemin |

### ReturnValue

Le chemin combiné

## Voir aussi

* Class [String](../../../system/string/)
* Class [Path](../)
* Namespace [System::IO](../../)
* Library [Aspose.Page for C++](../../../)
## Path::Combine(const String\&, const String\&, const String\&, const String\&) method


Combine quatre segments de chemin spécifiés en un seul chemin en insérant des caractères séparateurs de répertoire entre les segments si nécessaire.

```cpp
static String System::IO::Path::Combine(const String &path1, const String &path2, const String &path3, const String &path4)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| path1 | const String\& | Le premier segment de chemin |
| path2 | const String\& | Le deuxième segment de chemin |
| path3 | const String\& | Le troisième segment de chemin |
| path4 | const String\& | Le quatrième segment de chemin |

### ReturnValue

Le chemin combiné

## Voir aussi

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