CollectionConverter
Class
Definition
Provides a type converter to convert collection objects to and from various other representations.
public class CollectionConverter : System.ComponentModel.TypeConverter
- Inheritance
- Derived
Inherited Members
System.ComponentModel.TypeConverter
System.Object
Remarks
The GetProperties method for this type converter always returns null, and the GetPropertiesSupported method always returns false.
For more information about type converters, see the TypeConverter base class and How to: Implement a Type Converter.
Note
You should never create an instance of the CollectionConverter class. Instead, call the GetConverter method of the TypeDescriptor class. For more information, see the examples in the TypeConverter base class.
Constructors
| CollectionConverter() |
Initializes a new instance of the CollectionConverter class. |
Methods
| ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) |
Converts the given value object to the specified destination type. |
| GetProperties(ITypeDescriptorContext, Object, Attribute[]) |
Gets a collection of properties for the type of array specified by the value parameter using the specified context and attributes. |
| GetPropertiesSupported(ITypeDescriptorContext) |
Gets a value indicating whether this object supports properties. |