다음을 통해 공유


SPSolutionExporter.PathCombine Method

Combines two paths even if the second path begins with a slash.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Shared Function PathCombine ( _
    path1 As String, _
    path2 As String _
) As String
'Usage
Dim path1 As String
Dim path2 As String
Dim returnValue As String

returnValue = SPSolutionExporter.PathCombine(path1, _
    path2)
public static string PathCombine(
    string path1,
    string path2
)

Parameters

Return Value

Type: System.String
A string containing the combined paths. If path2 starts with a slash, the slash is trimmed before the paths are combined.

See Also

Reference

SPSolutionExporter Class

SPSolutionExporter Members

Microsoft.SharePoint Namespace