Click or drag to resize

DictionaryExtensionsGetValueFromCaseInsensitiveKeyT Method

Gets value from dictionary.

Namespace:  Omada.OE.Solution.OIM.Assembly.AppLogic.ValueGeneration.Logic
Assembly:  Omada.OE.Solution.OIM.Assembly (in Omada.OE.Solution.OIM.Assembly.dll) Version: 15.0.0.0
Syntax
C#
public static T GetValueFromCaseInsensitiveKey<T>(
	this Dictionary<string, T> dictionary,
	IEnumerable<string> potentialKeys
)

Parameters

dictionary
Type: System.Collections.GenericDictionaryString, T
The dictionary.
potentialKeys
Type: System.Collections.GenericIEnumerableString
The potential keys.

Type Parameters

T
Value type.

Return Value

Type: T
The String.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DictionaryString, T. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also