<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Mutate Hash table value</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/97a667f054/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/97a667f054/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/97a667f054/</id><updated>2024-08-28T20:59:50.112000Z</updated><subtitle>Recent posts to Mutate Hash table value</subtitle><entry><title>Mutate Hash table value</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/97a667f054/?limit=25#ea49" rel="alternate"/><published>2024-08-28T20:59:50.112000Z</published><updated>2024-08-28T20:59:50.112000Z</updated><author><name>egau</name><uri>https://forge.codesys.com/u/egau/</uri></author><id>https://forge.codesys.com50daa455fdbe1a5f068fbaf40f8294323eee19e7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, using the ElementCollections Library, why isn't it possible to mutate a value found within a HashTable? From what I understand, the only way to change a value would be to use the RemoveByKey(), followed by AddKeyValuePair(). My goal is to use a Data Structure that works like a Dictionary in Python. The HashTable seems to come close to this, except that the values themselves seem to be immutable...&lt;/p&gt;
&lt;p&gt;In python, we can mutate a dict easily (see attached picture).&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>