addOrReplace
addOrReplace(object, object)
Adds a new DataElement with the specified identifier and value, or replaces the existing element if an entry with the same ElementID is already present.
addOrReplace(id, value)
| Parameter | Type | Description |
|---|---|---|
| id | object | A 3-letter identifier that uniquely specifies the jurisdiction-related data element. |
| value | object | The text value assigned to the data element; this value will overwrite the existing one if the element already exists. |
Return Value
The
DataElement instance that was added to the collection or updated in place.
See Also
- class USADriveIdJurisdSubfile
- assembly Aspose.BarCode