Name

CultureInfoConverter

Synopsis

This TypeConverter transforms a System.Globalization.CultureInfo object to and from other types in serialization and design-time scenarios. You would not normally call this class directly from your own code.


public class CultureInfoConverter : TypeConverter {

// Public Constructors

   public CultureInfoConverter();

// Public Instance Methods

   public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType);  // overrides TypeConverter

   public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType);  // overrides TypeConverter

   public override object ConvertFrom(ITypeDescriptorContext context, 

        System.Globalization.CultureInfo culture, object value);  // overrides TypeConverter

   public override object ConvertTo(ITypeDescriptorContext context,

        System.Globalization.CultureInfo culture, object value, Type destinationType);  // 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

}

Hierarchy

System.Object TypeConverter CultureInfoConverter

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.