다음을 통해 공유


SPUtility.ConcatUrls Method

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.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