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
)
參數
baseUrlPath
Type: System.String字串,表示 URL 路徑。
additionalNodes
Type: System.String字串,表示節點或節點的路徑結合。
傳回值
Type: System.String
字串,包含節點與合併的路徑。