Click or drag to resize

ExtensionsGetValue Method (IDictionaryPropertyKey, Object, PropertyKey, Object)

Gets a value from a PropertyKey dictionary.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static Object GetValue(
	this IDictionary<PropertyKey, Object> dictionary,
	PropertyKey key,
	Object defaultValue = null
)

Parameters

dictionary
Type: System.Collections.GenericIDictionaryPropertyKey, Object
The dictionary.
key
Type: ShellBoost.Core.WindowsPropertySystemPropertyKey
The PropertyKey.
defaultValue (Optional)
Type: SystemObject
The default value.

Return Value

Type: Object
The result value.

Usage Note

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