March 2003
Intermediate to advanced
896 pages
32h 35m
English
GuidConverter
This TypeConverter is used to convert a
Guid to and from other types in serialization and
design-time scenarios, and should not normally be used in your own
code.
public class GuidConverter : TypeConverter { // Public Constructors public GuidConverter(); // 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 }
System.Object
→ TypeConverter → GuidConverter
Read now
Unlock full access