将嵌入的前缀与指定的相对 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
)
参数
value
类型:System.String相对于服务器的 URL。
返回值
类型:System.String
返回String表示形式的相对于服务器的 URL。
备注
此方法调用ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls(String, Boolean)value和false。