Click or drag to resize
TreeProviderFilterOutLocalizedVersions Method
Removes nodes of default culture that are translated to required language.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public static void FilterOutLocalizedVersions(
	DataSet ds,
	string siteName,
	string preferredCulture,
	string contextCulture = null
)

Parameters

ds
Type: System.DataDataSet
Original DataSet object containing both default and required language versions
siteName
Type: SystemString
Documents site name
preferredCulture
Type: SystemString
Required culture code
contextCulture (Optional)
Type: SystemString
Culture code that allows to override currently preferred culture
See Also