March 2003
Intermediate to advanced
896 pages
32h 35m
English
BooleanConverter
This TypeConverter translates a Boolean into other
representations for serialization and design-time scenarios. You
should not call this directly from your own code.
public class BooleanConverter : TypeConverter { // Public Constructors public BooleanConverter(); // Public Instance Methods public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType); // overrides TypeConverter public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value); // overrides TypeConverter public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context); // overrides TypeConverter public override bool GetStandardValuesExclusive(ITypeDescriptorContext context); // overrides TypeConverter public override bool GetStandardValuesSupported(ITypeDescriptorContext context); // overrides TypeConverter }
System.Object
→ TypeConverter → BooleanConverter
Read now
Unlock full access