Name
StringConverter
Synopsis
This class implements a TypeConverter
to transform
to and from the string type in serialization and design-time
scenarios. You should not normally call it from your own code.
public class StringConverter : TypeConverter { // Public Constructors public StringConverter(); // 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 }
Hierarchy
System.Object
→ TypeConverter → StringConverter
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.