共用方式為


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
)

參數

傳回值

Type: System.String
會傳回伺服器相對 URL String表示。

備註

此方法會呼叫ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls(String, Boolean)value與false。

請參閱

參照

SPUtility class

SPUtility members

ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls overload

Microsoft.SharePoint.Utilities namespace