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

Glossary Item Box

Adds a key/value pair to the IDictionary if the key does not already exist.

Overload List

OverloadDescription
GetOrAdd(TKey,TValue)Adds a key/value pair to the IDictionary if the key does not already exist.  
GetOrAdd(TKey,Converter<TKey,TValue>)Adds a key/value pair to the IDictionary if the key does not already exist.  

Requirements

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

See Also

Generated with Document! X 2011 by Innovasys