BaseExtensions ToList TFrom, TTo  Method Kentico 8.0 API Reference
Converts the given collection to a list of values

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

values
Type: OnlineSystem.Collections.Generic IEnumerable TFrom 
Values
transform
Type: OnlineSystem Func TFrom, TTo 
Transformation of the original object to the result
removeEmptyEntries (Optional)
Type: OnlineSystem Boolean
If true, empty (null) entries are not included into the list

Return Value

Type: OnlineList TTo 
See Also