SPUtility.ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls method (String)
Converts the specified relative URL with an embedded prefix to a server-relative URL and specifies the server URL.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls ( _
value As String _
) As String
'Usage
Dim value As String
Dim returnValue As String
returnValue = SPUtility.ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls(value)
public static string ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls(
string value
)
Parameters
value
Type: System.StringThe server-relative URL.
Return value
Type: System.String
Returns a String representation of the server-relative URL.
Remarks
This method calls ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls(String, Boolean) with value and false.