SPUrlUtility.CombineUrl method
Combines a specified URL path and nodes.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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.StringA string representing a URL path.
additionalNodes
Type: System.StringA 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.