Combines an array of strings into a path.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static string Combine(
params string[] paths
)
Public Shared Function Combine (
ParamArray paths As String()
) As String
public:
static String^ Combine(
... array<String^>^ paths
)
static member Combine :
paths : string[] -> string
Parameters
- paths
- Type: SystemString
An array of parts of the path.
Return Value
Type:
StringThe combined paths.
Exceptions Exception | Condition |
---|
ArgumentException | One of the strings in the array contains invalid characters, is empty, or contains only white spaces. |
ArgumentNullException | One of the strings in the array is . |
See Also