SPUtility.ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls method (String)
將指定的相對 URL 與內嵌的前置字元轉換成伺服器相對 URL,並指定伺服器 URL。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls ( _
value As String _
) As String
'用途
Dim value As String
Dim returnValue As String
returnValue = SPUtility.ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls(value)
public static string ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls(
string value
)
參數
value
Type: System.String伺服器相對 URL。
傳回值
Type: System.String
會傳回伺服器相對 URL String表示。
備註
此方法會呼叫ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls(String, Boolean)value與false。