Share via

SPUtility.ConcatUrls method

Concatenates two URL strings into one.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Public Shared Function ConcatUrls ( _
    firstPart As String, _
    secondPart As String _
) As String
Dim firstPart As String
Dim secondPart As String
Dim returnValue As String

returnValue = SPUtility.ConcatUrls(firstPart, _
public static string ConcatUrls(
    string firstPart,
    string secondPart


  • firstPart
    Type: System.String

    A string that contains the first part of the URL.

  • secondPart
    Type: System.String

    A string that contains the second part of the URL.

Return value

Type: System.String
The concatenated string.

See also


SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace