Compartilhar via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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

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.

See Also

Reference

SPUtility Class

SPUtility Members

ReplaceEmbeddedPrefixedUrlsWithServerRelativeUrls Overload

Microsoft.SharePoint.Utilities Namespace