Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Concatenates two URL strings into one.
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 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.StringA string that contains the first part of the URL.
secondPart
Type: System.StringA string that contains the second part of the URL.
Return Value
Type: System.String
The concatenated string.