method

USADriveIdJurisdSubfile::AddOrReplace(System::SharedPtr<USADriveIdJurisdSubfile::DataElement>) method

Adds new DataElement or replaces it if ElementID already exists.

System::SharedPtr<USADriveIdJurisdSubfile::DataElement> Aspose::BarCode::ComplexBarcode::USADriveIdJurisdSubfile::AddOrReplace(System::SharedPtr<USADriveIdJurisdSubfile::DataElement> node)
ParameterTypeDescription
nodeSystem::SharedPtr<USADriveIdJurisdSubfile::DataElement>DataElement to add

ReturnValue

Added/replaced data element

See Also

USADriveIdJurisdSubfile::AddOrReplace(System::String, System::String) method

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.

System::SharedPtr<USADriveIdJurisdSubfile::DataElement> Aspose::BarCode::ComplexBarcode::USADriveIdJurisdSubfile::AddOrReplace(System::String id, System::String value)
ParameterTypeDescription
idSystem::StringA 3-letter identifier that uniquely specifies the jurisdiction-related data element.
valueSystem::StringThe text value assigned to the data element; this value will overwrite the existing one if the element already exists.

ReturnValue

The DataElement instance that was added to the collection or updated in place.

See Also