.NET Windows Forms in a Nutshell

CollectionConverter

System.ComponentModel (system.dll) class

This TypeConverter translates classes that implement System.Collections.ICollection to and from other types. This is used in serialization and design-time scenarios, and you would not normally class this class directly from your own code.

public class CollectionConverter : TypeConverter { // Public Constructors public CollectionConverter (); // Public Instance Methods public override object ConvertTo (ITypeDescriptorContext context , System.Globalization.CultureInfo culture , object value , Type destinationType ); // overrides TypeConverter public override PropertyDescriptorCollection GetProperties ( ITypeDescriptorContext context , object value , Attribute[] attributes ); // overrides TypeConverter public override bool GetPropertiesSupported (ITypeDescriptorContext context ); // overrides TypeConverter }

Hierarchy

System.Object TypeConverter CollectionConverter

Subclasses

ArrayConverter

Категории