Skip to content

42f66301 4afb fc9e cbca 410a61a7a8c3

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

DatetimeErrorModel.Value Property

Additional header content

Gets or sets preferred default value when occurs an error.

Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public string Value { get; set; }

VB

Public Property Value As String
	Get
	Set

Property Value

Type: String
Preferred default value when occurs an error. The default is "MinValue".

Remarks

ITEE Object Element Usage

<Error Value="string" ...>
  ...
</Error>

AEE recognizes the following strings as valid values:  

Value Description
MinValue Represents date '01/01/1900'.
MaxValue Represents maximun system date.
Today Represents today date.
Other value Defined by user. If the value is not correct will used MinValue.
  Compatibility table with native writers.
Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
X X X X
A X value indicates that the writer supports this element.

Examples

In the following example shows how create a new style with a currency 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>

See Also

Reference

DatetimeErrorModel Class
iTin.Export.Model Namespace

Clone this wiki locally