Click or drag to resize
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.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
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: String
See Also