Overload | Description |
---|---|
TryUpdate(TKey,TValue) | Updates an element with the provided key to the value if it exists. |
TryUpdate(TKey,TValue,TValue) | Updates an element with the provided key to the value if it exists. |
TryUpdate(TKey,KeyValueUpdate<TKey,TValue>) | Modify the value associated with the result of the provided update method as an atomic operation, Allows for reading/writing a single record within the tree lock. Be cautious about the behavior and performance of the code provided as it can cause a dead-lock to occur. If the method returns an instance who .Equals the original, no update is applied. |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7