Click or drag to resize
DocumentURLProviderGetUrl Method
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: 8.2.23
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