193d52c9 75bb 91ec 36fb 5b1500eb63fe - iAJTin/iExportEngine GitHub Wiki
Additional header content
A Specialization of BaseErrorModel class.
Represents the error structure for datetime data type. Allows us to set a default value and an additional comment.
System.Object
iTin.Export.Model.BaseModel(BaseErrorModel)
iTin.Export.Model.BaseErrorModel
iTin.Export.Model.DatetimeErrorModel
Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[SerializableAttribute]
public class DatetimeErrorModel : BaseErrorModel,
ICloneableVB
<SerializableAttribute>
Public Class DatetimeErrorModel
Inherits BaseErrorModel
Implements ICloneableThe DatetimeErrorModel type exposes the following members.
| Name | Description | |
|---|---|---|
![]() |
DatetimeErrorModel | Initializes a new instance of the DatetimeErrorModel class. |
| Name | Description | |
|---|---|---|
![]()
|
Comment | Gets or sets a reference that contains the error comment. (Inherited from BaseErrorModel.) |
![]() |
DateTimeValue | Gets a value that represent the date time value. |
![]() |
IsDefault | Gets a value indicating whether this instance is default. (Overrides BaseErrorModel.IsDefault.) |
![]() |
Properties | Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).) |
![]()
|
Value | Gets or sets preferred default value when occurs an error. |
| Name | Description | |
|---|---|---|
![]() |
Clone | Clones this instance. |
![]() |
Combine(BaseErrorModel) | Combines this instance with reference parameter. (Inherited from BaseErrorModel.) |
![]() |
Combine(DatetimeErrorModel) | Combines this instance with reference parameter. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetStaticBindingValue | Gets the static binding value by reflection. (Inherited from BaseModel(T).) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
SaveToFile(String) | Saves to file. (Inherited from BaseModel(T).) |
![]() |
SaveToFile(String, Exception) | Serializes current BaseModel object into file (Inherited from BaseModel(T).) |
![]() |
Serialize | Serializes current BaseModel object into an Xml document. (Inherited from BaseModel(T).) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from BaseModel(T).) |
Belongs to: Datetime. For more information, please see DatetimeDataTypeModel.
ITEE Object Element Usage
<Error ...>
<Comment/>
</Error>Attributes
| Attribute | Optional | Description |
|---|---|---|
| Value | Yes | Preferred default value when occurs an error. The default is "MinValue". |
| Element | Description |
|---|---|
| Comment | Reference for error comment. Includes comment text, format, including font face, size, and style attributes. |
| Comma-Separated Values CsvWriter |
Tab-Separated Values TsvWriter |
SQL Script SqlScriptWriter |
XML Spreadsheet 2003 Spreadsheet2003TabularWriter |
|---|---|---|---|
| X | X | X | X |
X value indicates that the writer supports this element.
In the following example shows how create a new style with a percentage data type.
XML
<Style Name="DateValue">
<Content Color="sc# 0.15 0.15 0.15">
<Alignment Horizontal="Center"/>
<DateTime Format="Year-Month" Locale="en-US">
<Error Value="Today">
<Comment Show="Yes">
<Font Name="Comic Sans MS" Size="16" Bold="Yes" Italic="Yes" Underline="Yes"/>
</Comment>
</Error>
</DateTime>
</Content>
</Style>

