System.ComponentModel.CollectionConverter Class

Provides a type converter to convert collection objects to and from various other representations.

See Also: CollectionConverter


public class CollectionConverter : TypeConverter


The erload:System.ComponentModel.CollectionConverter.GetProperties method for this type converter always returns null, and the TypeConverter.GetPropertiesSupported method always returns false.

For more information about type converters, see the TypeConverter base class and How to: Implement a Type Converter.


You should never create an instance of the CollectionConverter class. Instead, call the TypeDescriptor.GetConverter(Object) method of the TypeDescriptor class. For more information, see the examples in the TypeConverter base class.


Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,,

The members of System.ComponentModel.CollectionConverter are listed below.

See Also: TypeConverter

Public Constructors

Initializes a new instance of the CollectionConverter class.

Public Methods

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) : Object

Converts the given value object to the specified destination type.

GetProperties(ITypeDescriptorContext, Object, Attribute[]) : PropertyDescriptorCollection

Gets a collection of properties for the type of array specified by the value parameter using the specified context and attributes.

GetPropertiesSupported(ITypeDescriptorContext) : Boolean

Gets a value indicating whether this object supports properties.