SPUtility.ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls 方法 (String)

将嵌入的前缀与指定的相对 URL 转换为相对于服务器的 URL,并指定服务器的 URL。

命名空间:  Microsoft.SharePoint.Utilities
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
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
)

参数

返回值

类型:System.String
返回String表示形式的相对于服务器的 URL。

备注

此方法调用ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls(String, Boolean)value和false。

另请参阅

引用

SPUtility 类

SPUtility 成员

ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls 重载

Microsoft.SharePoint.Utilities 命名空间