Click or drag to resize

ExportDataRow Class

This class wraps single row in the Export view so that it can also be detached from the CTExportProfileData and serialized.
Inheritance Hierarchy
SystemObject
  CTExtensions.ExportCore.ExportHandlerExportDataRow

Namespace:  CTExtensions.ExportCore.ExportHandler
Assembly:  CTInterface (in CTInterface.dll)
Syntax
public class ExportDataRow

The ExportDataRow type exposes the following members.

Properties
  NameDescription
Public propertyConfID
ConfID is unique ID for each row in Export. Hierarchical structure can be built using ConfID and ParentConfID.
Public propertyData
Export Profile Data; null after detach/deserialize.
Public propertyDataRowIndex
Row Index in Export Profile Data; -1 after detach/deserialize.
Public propertyDeleted
Public propertyDetached
A flag indicating if this row detached from the Data and uses cached/deserialized values.
Public propertyExcluded
A flag indicating reference count zero, which is the same as Excluded from BOM.
Public propertyExpProfile
Export Profile; null after detach/deserialize.
Public propertyParentConfID
ConfID of the row that it this row's parent. -1 for root items. Hierarchical structure can be built using ConfID and ParentConfID. You should investigate ParentDefined before trying to obtain this as even -1 could be valid value in some special cases.
Public propertyParentDefined
True if this row should have a parent.
Top
Methods
  NameDescription
Public methodCreateChildRow
Create child row for the current row. ONLY AVAILABLE IF NOT Detached.
Public methodDeleteRow
Delete this row. This object should be discarded after.
Public methodStatic memberDeserialize
Deserialize new object from stream.
Public methodDetach
Detach this object from the CTExportProfileData. Caches all the row data internally so its still available, but also serializable.
Public methodDetachAndSerializeTo
Detach this object from Data if not Detached already, and then serialize it into the given stream. The serialized object can be re-constructred with Deserialize(Stream).
Public methodStatic memberGetConfID
Reads the configuration ID from the export data row.
Public methodGetValueByName
Field value accessor. Returns value from cache if Detached, otherwise live value from the Data.
Public methodSetValueByName
Field value setter. Sets field value in cache if Detached, otherwise sets value for the Data.
Public methodToCTGenericArray
Public methodToString
Shows "file_name|Configuration"
(Overrides ObjectToString.)
Public methodStatic memberWrap
Wraps the given row with a new ExportDataRow.
Top
See Also