BaseExtensions ToList TFrom, TTo  Method Kentico 8.1 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.1.5347.20411)

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