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

Namespace: CMS.DocumentEngine.Internal
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public string Retrieve(
	SiteInfoIdentifier siteIdentifier,
	string cultureCode
)

Parameters

siteIdentifier
Type: CMS.DataEngineSiteInfoIdentifier
Site identifier.
cultureCode
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