DictionaryExtensionGetStringValueTKey, TValue Method

Definition

Namespace: Recrovit.RecroGridFramework.Abstraction.Extensions
Assembly: Recrovit.RecroGridFramework.Abstraction (in Recrovit.RecroGridFramework.Abstraction.dll) Version: 1.4.0.10320
C#
public static string GetStringValue<TKey, TValue>(
	this Dictionary<TKey, TValue> self,
	TKey key,
	string defaultValue = null
)

Parameters

self  DictionaryTKey, TValue
 
key  TKey
 
defaultValue  String  (Optional)
 

Type Parameters

TKey
TValue

Return Value

String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DictionaryTKey, TValue. 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