DecimalValue Members

Include Protected Members
Include Inherited Members

Defines DecimalValue - Decimal value for attributes.

The DecimalValue type exposes the following members.

Constructors

  Name Description
Public method DecimalValue() Initializes a new instance of the DecimalValue.
Public method DecimalValue(Decimal) Initializes a new instance of the DecimalValue.
Public method DecimalValue(DecimalValue) Initializes a new instance of the DecimalValue by deep copy.

Top

Properties

  Name Description
Public property HasValue Gets a value indicating whether underneath text value is valid value. (Inherited from OpenXmlSimpleValue<T>.)
Public property InnerText The inner xml text . (Overrides OpenXmlSimpleValue<T>.InnerText.)
Protected property TextValue DON'T use this property. Only for OpenXmlSimpleType.cs internal use. The internal raw text value. (Inherited from OpenXmlSimpleType.)
Public property Value Gets or sets the value of the simple value. (Inherited from OpenXmlSimpleValue<T>.)

Top

Methods

  Name Description
Public method Clone Creates a duplicate of this value. (Inherited from OpenXmlSimpleType.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public methodStatic member FromDecimal Returns a new DecimalValue object created from Decimal.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member ToDecimal Returns the internal Decimal representation of a DecimalValue object.
Public method ToString Returns a String that represents the current value. (Inherited from OpenXmlSimpleType.)

Top

Operators

  Name Description
Public operatorStatic member Implicit(Decimal to DecimalValue) Implicit converter from Decimal.
Public operatorStatic member Implicit(DecimalValue to Decimal) Implicit converter to Decimal.

Top

See Also

Reference

DecimalValue Class

DocumentFormat.OpenXml Namespace