Skip to content

48732ce6 4375 b6cd 857f 35c596b7f238

Fernando Garcia edited this page May 8, 2018 · 1 revision

RealDataTypeModel Class

Additional header content

A Specialization of BaseDataTypeModel class.
Which acts as the base class for data types with decimal numbers.

Inheritance Hierarchy

System.Object
  iTin.Export.Model.BaseModel(BaseDataTypeModel)
    iTin.Export.Model.BaseDataTypeModel
      iTin.Export.Model.RealDataTypeModel
        iTin.Export.Model.NumericDataTypeModel
        iTin.Export.Model.PercentageDataTypeModel
        iTin.Export.Model.ScientificDataTypeModel
Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

[SerializableAttribute]
public abstract class RealDataTypeModel : BaseDataTypeModel, 
	ICloneable

VB

<SerializableAttribute>
Public MustInherit Class RealDataTypeModel
	Inherits BaseDataTypeModel
	Implements ICloneable

The RealDataTypeModel type exposes the following members.

Constructors

 

Name Description
Protected method RealDataTypeModel Initializes a new instance of the RealDataTypeModel class.
  Back to Top

Properties

 

Name Description
Public propertyCode example Decimals Gets or sets number of decimal places.
Public property IsDefault Gets a value indicating whether this instance is default. (Overrides BaseModel.IsDefault.)
Public property Properties Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).)
Public property Type Gets a value indicating data type. (Inherited from BaseDataTypeModel.)
  Back to Top

Methods

 

Name Description
Public method Clone Clones this instance.
Public method Combine(BaseDataTypeModel) Combines this instance with reference parameter. (Inherited from BaseDataTypeModel.)
Public method Combine(RealDataTypeModel) Combines this instance with reference parameter.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetDataFormat Returns data format for a data type. (Inherited from BaseDataTypeModel.)
Public method GetFormattedDataValue Returns data format for a data type. (Inherited from BaseDataTypeModel.)
Public method GetHashCode (Inherited from Object.)
Protected method GetStaticBindingValue Gets the static binding value by reflection. (Inherited from BaseModel(T).)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SaveToFile(String) Saves to file. (Inherited from BaseModel(T).)
Public method SaveToFile(String, Exception) Serializes current BaseModel object into file (Inherited from BaseModel(T).)
Public method Serialize Serializes current BaseModel object into an Xml document. (Inherited from BaseModel(T).)
Public method ToString Returns a string that represents the current object. (Inherited from BaseModel(T).)
  Back to Top

Remarks

The following table shows the different data field types.  

Class Description
NumericDataTypeModel Represents base class for the data types negative numbers with decimals.
PercentageDataTypeModel Displays the result with a percent sign (%). You can specify the number of decimal places to use.
ScientificDataTypeModel Displays a number in exponential notation, which replaces part of the number with E + n, where E (exponent) multiplies the preceding number by 10 to n. You can specify the number of decimal places you want to use.

See Also

Reference

iTin.Export.Model Namespace

Clone this wiki locally