System::IO::Path::Combine 方法
内容
[
隐藏
]Path::Combine(const ArrayPtr<String>&) method
将指定的路径段组合成单一路径,如有必要在段之间插入目录分隔符字符。
static String System::IO::Path::Combine(const ArrayPtr<String> &paths)
| 参数 | 类型 | 描述 |
|---|---|---|
| 路径 | const ArrayPtr<String>& | 一个包含要合并的路径段的数组 |
ReturnValue
合并后的路径
另见
- Class String
- Typedef ArrayPtr
- Class Path
- Namespace System::IO
- Library Aspose.Font for C++
Path::Combine(const String&, const String&) method
将两个指定的路径段组合成单一路径,如有必要在段之间插入目录分隔符字符。
static String System::IO::Path::Combine(const String &path1, const String &path2)
| 参数 | 类型 | 描述 |
|---|---|---|
| path1 | const String& | 第一个路径段 |
| path2 | const String& | 第二个路径段 |
ReturnValue
合并后的路径
另见
- Class String
- Class Path
- Namespace System::IO
- Library Aspose.Font for C++
Path::Combine(const String&, const String&, const String&) method
将三个指定的路径段组合成单一路径,如有必要在段之间插入目录分隔符字符。
static String System::IO::Path::Combine(const String &path1, const String &path2, const String &path3)
| 参数 | 类型 | 描述 |
|---|---|---|
| path1 | const String& | 第一个路径段 |
| path2 | const String& | 第二个路径段 |
| path3 | const String& | 第三个路径段 |
ReturnValue
合并后的路径
另见
- Class String
- Class Path
- Namespace System::IO
- Library Aspose.Font for C++
Path::Combine(const String&, const String&, const String&, const String&) method
将四个指定的路径段组合成单一路径,如有必要在段之间插入目录分隔符字符。
static String System::IO::Path::Combine(const String &path1, const String &path2, const String &path3, const String &path4)
| 参数 | 类型 | 描述 |
|---|---|---|
| path1 | const String& | 第一个路径段 |
| path2 | const String& | 第二个路径段 |
| path3 | const String& | 第三个路径段 |
| path4 | const String& | 第四个路径段 |
ReturnValue
合并后的路径
另见
- Class String
- Class Path
- Namespace System::IO
- Library Aspose.Font for C++