Click or drag to resize

IRecord Methods

The IRecord type exposes the following members.

Methods
  NameDescription
Public methodAddItem
Add an item for a given key and value at the end of the record.
Public methodAddOrReplaceItem
Include the item in the record by either adding it or replacing existing item with the same key.
(Inherited from IRecordBase.)
Public methodContainsKey
Verify if the record contains an item with a given key.
(Inherited from IRecordBase.)
Public methodCreateEmptyX12Segment
Return an empty X12 segment for a given name and number of elements.
Public methodCreateFilledX12Segment
Return an X12 segment based on provided contents.
Public methodGetClone
Return a copy (deep clone) of the record. The cloned record will have the same characteristics (e.g. RecNo and also TraceBin and PropertyBin) as the current record.
Public methodGetEmptyClone

Return an empty record (i.e. record with no items) with the same characteristics (e.g. RecNo and also TraceBin and PropertyBin) as the current record.

Caution note Caution
GetEmptyClone method typically requires AllowTransformToAlterFields setting to be true (to allow field additions). Otherwise (i.e. when AllowTransformToAlterFields is false, which is a default value), the record returned by this method is unmaintainable, i.e. it will remain empty forever.
Public methodGetItem(Int32)
Obtain an item at a specified index position.
(Inherited from IRecordBase.)
Public methodGetItem(String)
Obtain an item for a specified key.
(Inherited from IRecordBase.)
Public methodGetItemClone
Obtain a clone of a given item with a new value.
Public methodGetProcessingStatus
Return processing status of a given phase.
(Inherited from IRecordBase.)
Public methodRemoveItem
Remove item for a specified key.
(Inherited from IRecordBase.)
Public methodReplaceItem
Replace an existing item with a new one.
(Inherited from IRecordBase.)
Top
See Also