Click or drag to resize
DocumentURLProviderGetPresentationUrl Method (SiteInfoIdentifier, String)
Gets site presentation URL for given culture (without trailing '/').

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public static string GetPresentationUrl(
	SiteInfoIdentifier siteIdentifier,
	string cultureCode = null
)

Parameters

siteIdentifier
Type: CMS.DataEngineSiteInfoIdentifier
Site identifier.
cultureCode (Optional)
Type: SystemString
Culture for which the presentation URL should be returned.

Return Value

Type: String
Remarks
When the content culture is specified by domain based on site settings the culture is used to get respective presentation URL from site domain alias. If the cultureCode is not provided site presentation URL is always used.
See Also