Click or drag to resize
MultiValueDictionaryTKey, TValueGetValues Method
Gets the values for the key specified. This method is useful if you want to avoid an exception for key value retrieval and you can't use TryGetValue (e.g. in lambdas)

Namespace:  SD.Tools.Algorithmia.GeneralDataStructures
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.2.0.0 (1.2.16.0406)
Syntax
public HashSet<TValue> GetValues(
	TKey key,
	bool returnEmptySet
)

Parameters

key
Type: TKey
The key.
returnEmptySet
Type: SystemBoolean
if set to true and the key isn't found, an empty hashset is returned, otherwise, if the key isn't found, null is returned

Return Value

Type: HashSetTValue
This method will return null (or an empty set if returnEmptySet is true) if the key wasn't found, or the values if key was found.
See Also