Click or drag to resize
DocumentURLProviderGetDocumentCultureUrls Method
Creates culture version of URLs for given node based on provided parameters.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
public static List<DocumentCultureUrl> GetDocumentCultureUrls(
	TreeNode node,
	string originalUrl,
	string excludedCultureCode = "",
	UrlOptionsEnum options = UrlOptionsEnum.ExcludeUntranslatedDocuments|UrlOptionsEnum.UseCultureSpecificURLs
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Node to generate culture specific URLs for.
originalUrl
Type: SystemString
Original URL which will be changed to culture specific.
excludedCultureCode (Optional)
Type: SystemString
Culture code (for example "en-US"), for which culture specific URL will not be generated
options (Optional)
Type: CMS.DocumentEngineUrlOptionsEnum
Flag enum which influences final culture specific URL. By default only URL for translated pages is generated and URL is culture specific

Return Value

Type: ListDocumentCultureUrl
See Also