UnitConverter

UnitConverter

System.Web.UI.WebControls (system.web.dll)class

This class provides the functionality needed to convert a Unit structure to a System.Int32 value. This class is never accessed directly. You can access its functionality through the System.ComponentModel.TypeDescriptor helper class.

public class UnitConverter : System.ComponentModel.TypeConverter { // Public Constructors    public UnitConverter( ); // Public Instance Methods    public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext context,          Type sourceType); // overrides System.ComponentModel.TypeConverter    public override object ConvertFrom(System.ComponentModel.ITypeDescriptorContext context,          System.Globalization.CultureInfo culture, object value);// overrides System.ComponentModel.TypeConverter    public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext context,          System.Globalization.CultureInfo culture, object value, Type destinationType);                // overrides System.ComponentModel.TypeConverter  }

Hierarchy

System.Object System.ComponentModel.TypeConverter UnitConverter



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net