CSharpTest.Net
TryUpdate Method
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Collections Namespace > LurchTable<TKey,TValue> Class : TryUpdate Method

Glossary Item Box

Updates an element with the provided key to the value if it exists.

Overload List

OverloadDescription
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 syncronization lock.  

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys