Skip to content

0ca7b575 6078 b606 0774 74123c02ad52

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

PieceModel Class

Additional header content

Represents a new field composed of a field name and initial position and final position into the reference field.

Inheritance Hierarchy

System.Object
  iTin.Export.Model.BaseModel(PieceModel)
    iTin.Export.Model.PieceModel
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 class PieceModel : BaseModel<PieceModel>

VB

<SerializableAttribute>
Public Class PieceModel
	Inherits BaseModel(Of PieceModel)

The PieceModel type exposes the following members.

Constructors

 

Name Description
Public method PieceModel Initializes a new instance of the PieceModel class.
  Back to Top

Properties

 

Name Description
Public propertyCode example From Gets or sets the initial character of the piece into field reference.
Public property IsDefault Gets a value indicating whether this instance is default. (Overrides BaseModel.IsDefault.)
Public propertyCode example Lenght Gets or sets the length in characters of the piece.
Public propertyCode example Name Gets or sets the name of the piece.
Public property Properties Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).)
Public propertyCode example Trim Gets or sets a value indicating whether to trim the blanks in this piece.
Public propertyCode example TrimMode Gets or sets a value that determines trim mode for strings.
  Back to Top

Methods

 

Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
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.)
Public method GetValue Returns the value containing this piece.
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 SetOwner Sets the element that owns this PiecesModel.
Public method ToString Returns a string that represents the current object. (Overrides BaseModel(T).ToString().)
  Back to Top

Remarks

Belongs to: Pieces. For more information, please see PiecesModel. ITEE Object Element Usage

<Piece .../>

Attributes

Attribute Optional Description
Name No Name of the piece.
From No Initial character of the piece into field reference.
Lenght No Length in characters of the piece.
Trim Yes Determines whether to apply string trim mode. The default No.
TrimMode Yes Use this attribute to specify trim mode for strings. The default is All.
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.

See Also

Reference

iTin.Export.Model Namespace

Clone this wiki locally