Description
Represents a list of common used formats.

Namespace: Docs.Excel
Assembly: Excel (in Excel.dll) Version: 3.1.0.0 (3.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class DefinedFormats
Public Class DefinedFormats
public ref class DefinedFormats

Members

         
 All Members  Constructors   Properties  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
DefinedFormats()()()()
Initializes a new instance of the DefinedFormats class
Currency
Returns format string "# ##0,00" + CurrencySymbol of CurrentCulture.
CurrencyDollar
Returns format string "# ##0,00$"
Data_Month_Day_One
Returns format string "MM.dd".
Data_Month_Day_Two
Returns format string "MMM.dd".
DataFullOne
Returns format string "MM.dd.yy".
DataFullThree
Returns format string "MMM.dd.yyyy".
DataFullTwo
Returns format string "MM.dd.yyyy".
Date_Time
Returns format string "MM.DD.YY h:mm".
Exponential
Returns format string "0.00E+00".
Financial
Returns format string "# ##0,00" + CurrencySymbol of CurrentCulture.
FinancicalDollar
Returns format string "# ##0,00$".
Numerical
Returns format string "0,00".
NumericalWithDivided
Returns format string "# ##0,00".
Percentage
Returns format string "0%".
PercentageWithDivided
Returns format string "0.00%".
SimpleFraction
Returns format string "# ?/?".
Textual
Returns format string "@".
Time_24Hour_One
Returns format string "hh:mm:ss".
Time_24Hour_Two
Returns format string "hh:mm:ss".
Time_AMPM_One
Returns format string "h:mm AM/PM".
Time_AMPM_Two
Returns format string "h:mm:ss AM/PM".
TreeNumberFraction
Returns format string "# ???/???".
TwoNumberFraction
Returns format string "# ??/??".

Inheritance Hierarchy

System..::..Object
  Docs.Excel..::..DefinedFormats

See Also