Click or drag to resize

TypeConverterConvertToEnumerable Method (IEnumerable, Type, CultureInfo)

Returns an iterator over the results of converting the given values to the given type. The conversion is configurable further more before iteration.

Namespace:  TB.ComponentModel
Assembly:  UniversalTypeConverter (in UniversalTypeConverter.dll) Version: 2.0.0
Syntax
C#
public EnumerableConversion<Object> ConvertToEnumerable(
	IEnumerable values,
	Type destinationType,
	CultureInfo culture = null
)

Parameters

values
Type: System.CollectionsIEnumerable
The list of values which are converted.
destinationType
Type: SystemType
The type to which the given values are converted.
culture (Optional)
Type: System.GlobalizationCultureInfo
The culture to use. If not given or null, the DefaultCulture is used.

Return Value

Type: EnumerableConversionObject
List of converted values.
See Also