Show / Hide Table of Contents

Class DataItem

Identifies a physical storage location for an individual data entry, serving as a link between the physical location and the logical content description of each data item.

Inheritance
Object
NotificationObject
DataItem
Implements
INotifyPropertyChanged
Inherited Members
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(String)
NotificationObject.RaisePropertyChanged(String[])
NotificationObject.RaisePropertyChanged<T>(Expression<Func<T>>)
NotificationObject.OnPropertyChanged(String)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, String)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class DataItem : NotificationObject, INotifyPropertyChanged

Properties

ArrayPosition

Gets or sets the array position of the DataItem in a delimited file.

Declaration
public int? ArrayPosition { get; set; }
Property Value
Type Description
Nullable<Int32>

CultureOfData

The culture in which the data is represented.

Declaration
public CultureInfo CultureOfData { get; set; }
Property Value
Type Description
CultureInfo
Remarks

DDI3's LanguageOfData and LocaleOfData are both based off this. LanguageOfData is the ISO two character language code; LocaleOfData is the two character country code.

DecimalPositions

Gets or sets the number of decimal places for data where an explicit decimal separator does not exist.

Declaration
public int? DecimalPositions { get; set; }
Property Value
Type Description
Nullable<Int32>

DecimalSeparator

Gets or sets the character used to separate the integer and the fraction part of a number.

Declaration
public char DecimalSeparator { get; set; }
Property Value
Type Description
Char

Delimiter

Gets or sets the delimiter that separates this DataItem from the next.

Declaration
public DelimiterType? Delimiter { get; set; }
Property Value
Type Description
Nullable<DelimiterType>

DigitGroupSeparator

Gets or sets the the character used to separate groups of digits, if an explicit separator is used in the data.

Declaration
public char DigitGroupSeparator { get; set; }
Property Value
Type Description
Char

DisplayLabel

Gets the display label.

Declaration
public string DisplayLabel { get; }
Property Value
Type Description
String

EndPosition

Gets or sets the position of the last character of the DataItem in a fixed format. Must be specified if a value for Width is not provided.

Declaration
public int? EndPosition { get; set; }
Property Value
Type Description
Nullable<Int32>

StartPosition

Gets or sets the start position of hte first character of the data item in a fixed format file.

Declaration
public int? StartPosition { get; set; }
Property Value
Type Description
Nullable<Int32>

StorageFormat

Gets or sets the storage format.

Declaration
public CodeValue StorageFormat { get; set; }
Property Value
Type Description
CodeValue

Variable

Gets or sets the variable expressed in this DataItem.

Declaration
[AlsoNotifyFor("DisplayLabel")]
public Variable Variable { get; set; }
Property Value
Type Description
Variable

Width

Gets or sets the width of the DataItem in a fixed format file. Must be specified if a value for EndPosition is not provided.

Declaration
public int? Width { get; set; }
Property Value
Type Description
Nullable<Int32>

Methods

ToString()

Returns a String that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
String

A String that represents this instance.

Overrides
Object.ToString()

Implements

System.ComponentModel.INotifyPropertyChanged
In This Article
Back to top Generated by DocFX