共用方式為


SPUrlUtility.CombineUrl method

結合了指定的 URL 路徑與節點。

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

Syntax

'宣告
Public Shared Function CombineUrl ( _
    baseUrlPath As String, _
    additionalNodes As String _
) As String
'用途
Dim baseUrlPath As String
Dim additionalNodes As String
Dim returnValue As String

returnValue = SPUrlUtility.CombineUrl(baseUrlPath, _
    additionalNodes)
public static string CombineUrl(
    string baseUrlPath,
    string additionalNodes
)

參數

  • additionalNodes
    Type: System.String

    字串,表示節點或節點的路徑結合。

傳回值

Type: System.String
字串,包含節點與合併的路徑。

請參閱

參照

SPUrlUtility class

SPUrlUtility members

Microsoft.SharePoint.Utilities namespace