SPUtility.ConcatUrls method

Concatenates two URL strings into one.

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

Syntax

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

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

Parameters

  • 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

Reference

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace