Click or drag to resize

ObjectExtensionConvertToEnumerable Method (IEnumerable, Type)

Note: This API is now obsolete.

For backward compatibility only. Use ToEnumerable(IEnumerable, Type, CultureInfo) instead.

Namespace:  TB.ComponentModel
Assembly:  UniversalTypeConverter (in UniversalTypeConverter.dll) Version: 2.0.0
Syntax
C#
[ObsoleteAttribute("Use ToEnumerable() instead.")]
public static EnumerableConversion<Object> ConvertToEnumerable(
	this IEnumerable values,
	Type destinationType
)

Parameters

values
Type: System.CollectionsIEnumerable
destinationType
Type: SystemType

Return Value

Type: EnumerableConversionObject

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also