IFormattable

IFormattable CF 1.0, ECMA 1.0

System (mscorlib.dll) interface

This interface is implemented in your objects to provide a custom ToString( ) method that accepts a format string and an IFormatProvider instance. You can then use this information to determine how the return string should be rendered. All numeric value types in the System namespace implement this interface.

 public interface  IFormattable  {  // Public Instance Methods  public string  ToString  (string   format   , IFormatProvider   formatProvider   ); } 

Implemented By

Multiple types



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

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