TreeProviderFilterOutLocalizedVersions Method |
Removes nodes of default culture that are translated to required language.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax 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