共用方式為


SPUtility.ConcatUrls method

將兩個 URL 字串串連到其中一個。

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

Syntax

'宣告
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, _
    secondPart)
public static string ConcatUrls(
    string firstPart,
    string secondPart
)

參數

  • firstPart
    Type: System.String

    字串,包含 URL 的第一個部分。

  • secondPart
    Type: System.String

    字串,包含 URL 的第二個部分。

傳回值

Type: System.String
串連的字串。

請參閱

參照

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace