ICustomFormatter

ICustomFormatter CF 1.0

System (mscorlib.dll) interface

This interface provides a custom formatter, which returns string information for supplied objects based on custom criteria. The ICustomFormatter interface contains a single Format( ) method. This method accepts a format string and an IFormatProvider object and uses this criteria to determine which string to return for the specified object.

 public interface  ICustomFormatter  {  // Public Instance Methods  public string  Format  (string   format   , object   arg   , IFormatProvider   formatProvider   ); } 


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