TimeSpanConverter

TimeSpanConverter

System.ComponentModel (system.dll) class

This class provides a TypeConverter for the TimeSpan type. It is used in design-time and serialization scenarios, and would not normally be called from your own code.

 public class  TimeSpanConverter  : TypeConverter {  // Public Constructors  public  TimeSpanConverter  ();  // 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  } 

Hierarchy

System.Object TypeConverter TimeSpanConverter



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

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