DocumentURLProviderGetUrl Method (String, String, String, String, String) |
Returns URL for the specified aliasPath and urlPath (preferable if urlpath is not wildcard URL) and a specified site name.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax public static string GetUrl(
string aliasPath,
string urlPath = null,
string siteName = null,
string langPrefix = null,
string extension = null
)
Parameters
- aliasPath
- Type: SystemString
Alias path - urlPath (Optional)
- Type: SystemString
URLU Path - siteName (Optional)
- Type: SystemString
Site name - langPrefix (Optional)
- Type: SystemString
Lang prefix. If is empty current lang prefix is used - extension (Optional)
- Type: SystemString
URL extension
Return Value
Type:
StringSee Also