PortalApplication.GetCanonicalUrl, méthode (Microsoft.SharePoint.Portal)
Gets the canonical form of a URL.
Espace de noms : Microsoft.SharePoint.Portal
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
Public Shared Function GetCanonicalUrl ( _
url As String _
) As String
'Utilisation
Dim url As String
Dim returnValue As String
returnValue = PortalApplication.GetCanonicalUrl(url)
public static string GetCanonicalUrl (
string url
)
Paramètres
- url
The URL to be canonicalized.
Valeur de retour
A string that contains a canonical URL, with the base portion of the URL replaced by an identifier that can be used with the GetMappedUrl method.
Voir aussi
Référence
PortalApplication, classe
Membres PortalApplication
Microsoft.SharePoint.Portal, espace de noms