SPUrlUtility.CombineUrl Method

Combines a specified URL path and nodes.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Shared Function CombineUrl ( _
    baseUrlPath As String, _
    additionalNodes As String _
) As String
'Usage
Dim baseUrlPath As String
Dim additionalNodes As String
Dim returnValue As String

returnValue = SPUrlUtility.CombineUrl(baseUrlPath, _
    additionalNodes)
public static string CombineUrl(
    string baseUrlPath,
    string additionalNodes
)

Parameters

  • baseUrlPath
    Type: System.String

    A string representing a URL path.

  • additionalNodes
    Type: System.String

    A string representing a node or nodes to combine with the path.

Return Value

Type: System.String
A string that contains the combined path and nodes.

See Also

Reference

SPUrlUtility Class

SPUrlUtility Members

Microsoft.SharePoint.Utilities Namespace